tmp88ph40mg TOSHIBA Semiconductor CORPORATION, tmp88ph40mg Datasheet - Page 47

no-image

tmp88ph40mg

Manufacturer Part Number
tmp88ph40mg
Description
8 Bit Microcontroller
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TMP88PH40MG
Manufacturer:
TOSHIBA/东芝
Quantity:
20 000
Part Number:
tmp88ph40mg(KYZ)
Manufacturer:
TOSHIBA
Quantity:
10
5.2 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
R/W
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: If read-modify-write instruction is executed while the register is selecting open-drain mode, output latch data are read out.
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
At the other instruction is executed, external pin states are 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)
.
D
P35
U1
5
5
5
Q
utput latch
D
P34
Q
V1
4
4
4
Figure 5-3 Port P3
P33
W1
0: Input mode
1: Output mode
0: Tri-state
1: Open-drain
3
3
3
Page 37
P32
X1
2
2
2
P31
Y1
1
1
1
Note: i = 7
P30
Z1
0
0
0
P3i
(Initial value: 0000 0000)
(Initial value: 0000 0000)
(Initial value: 0000 0000)
to
External
0
input
Control input
0
1
values
0
0 0
1 0
CR
1
TMP88PH40MG
R/W
R/W

Related parts for tmp88ph40mg