tmp88cs43fg TOSHIBA Semiconductor CORPORATION, tmp88cs43fg Datasheet - Page 58

no-image

tmp88cs43fg

Manufacturer Part Number
tmp88cs43fg
Description
8 Bit Microcontroller Tlcs-870/x Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
5. Input/Output Ports
5.4 Port P3 (P37 to P30)
P3 Port Input/Output Registers
(00003H)
(01F89H)
(01F83H)
P3ODE
output Control Register (P3CR). When reset, the P3CR Register is initialized to 0, with the P3 port set for input
mode. Also, the Output Latch (P3DR) is initialized to 0 when reset.
(P3ODE) is used to select open-drain or tri-state mode for the port. When reset, the P3ODE Register is initialized to
0, with tri-state mode selected for the port.
P3DR
P3CR
Port P3 is an 8-bit input/output port. This port is switched between input and output modes using the P3 port Input/
The P3 port contains bitwise programmable open-drain control. The P3 Port Open-drain Control Register
Note 1: Even when open-drain mode is selected, the protective diode remains connected. Therefore, do not apply voltages
Note 2: Read-Modify-Write (RMW) operation executes at open-drain mode is selected, read out the output latch states.
Note 3: For PMD circuit output, set the P3DR output latch to 1.
Note 4: When using P3 port as an input/output port, disable the EMG1 circuit.
Control output
Control input
exceeding V
When any other instruction is executed, external pin states is read out.
Data output
P37
Data input
CL1
P3ODE
P3CR
7
7
7
P3CRi
EMG1
P36
DD
6
6
6
P3 port input/output control
(Specify bitwise)
P3 port open-drain control
(Specify bitwise)
.
P35
U1
5
5
5
utput latch
D
P34
Q
V1
4
4
4
Figure 5-5 Port P3
P33
W1
0: Input mode
1: Output mode
0: Tri-state
1: Open-drain
3
3
3
Page 48
P32
X1
2
2
2
P31
Y1
1
1
1
Note: i = 7
P30
Z1
0
0
0
P3i
Read/Write
(Initial value: 0000 0000)
(Initial value: 0000 0000)
(Initial value: 0000 0000)
External
to
0
input
Control input
0
1
values
0
0 0
1 0
CR
1
TMP88CS43FG
R/W
R/W

Related parts for tmp88cs43fg