tmp88ph40mg TOSHIBA Semiconductor CORPORATION, tmp88ph40mg Datasheet - Page 48

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.1 Port P1 (Only P10)
5.3 Port P4 (P45 to P40)
P4 port input/output registers
(01F8AH)
(00004H)
(01F84H)
P4ODE
and output modes using the P4 port input/output control register (P4CR). When reset, the P4CR register is initialized
to 0, with the P4 port set for input mode. Also, the output latch (P4DR) is initialized to 0 when reset.
is used to select open-drain or tri-state mode for the port. When reset, the P4ODE register is initialized to 0, with tri-
state mode selected for the port.
P4DR
P4CR
R/W
Port P4 is an 6-bit input/output port shared with serial interface input/output. This port is switched between input
The P4 port contains bitwise programmable open-drain control. The P4 port open-drain control register (P4ODE)
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:
Control output
Control input
exceeding V
At the other instruction is executed, external pin states are read out.
*: Don’t care
Data output
Data input
P4ODE
P4CR
7
7
7
P4CRi
DD
6
6
6
P4 port input/output control
(Specify bitwise)
P4 port open-drain control
(Specify bitwise)
.
D
TXD1
P45
SO
5
5
5
Q
utput latch
D
RXD1
P44
Q
SI
4
4
4
Figure 5-4 Port P4
P43
SCK
3
3
0: Input mode
1: Output mode
3
0: Tri-state
1: Open-drain
Page 38
PDU1
P42
2
2
2
PDV1
P41
1
1
1
Note: i = 5
PDW1
P40
0
0
0
P4i
(Initial value: **00 0000)
(Initial value: **00 0000)
(Initial value: **00 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