tmp88cs43fg TOSHIBA Semiconductor CORPORATION, tmp88cs43fg Datasheet - Page 65

no-image

tmp88cs43fg

Manufacturer Part Number
tmp88cs43fg
Description
8 Bit Microcontroller Tlcs-870/x Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
5.9 Port P8 (P87 to P80)
P8 Port Input/Output Registers
(01F8EH)
(00008H)
(01F86H)
P8ODE
output control register (P8CR). When reset, the P8CR register is initialized to 0, with the P8 port set for input mode.
Also, the output latch (P8DR) is initialized to 0 when reset.
is used to select open-drain or tri-state mode for the port. When reset, the P8ODE register is initialized to 0, with tri-
state mode selected for the port.
P8DR
P8CR
Port P8 is an 8-bit input/output port. This port is switched between input and output modes using the P8 port input/
The P8 port contains bitwise programmable open-drain control. The P8 port open-drain control register (P8ODE)
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.
exceeding V
When any other instruction is executed, external pin states is read out.
P87
P8ODE
P8CR
7
7
7
Data output
Data input
P8CRi
P86
DD
6
6
6
P8 port input/output control
(Specify bitwise)
P8 port open-drain control
(Specify bitwise)
.
P85
5
5
5
P84
utput latch
D
4
4
4
Figure 5-10 Port P8
Q
P83
0: Input mode
1: Output mode
0: Tri-state
1: Open-drain
3
3
3
Page 55
P82
2
2
2
P81
1
1
1
P80
0
0
0
Read/Write
(Initial value: 0000 0000)
(Initial value: 0000 0000)
(Initial value: 0000 0000)
P8i
Note: i = 7
to
0
TMP88CS43FG
R/W
R/W

Related parts for tmp88cs43fg