tmp88fw45afg TOSHIBA Semiconductor CORPORATION, tmp88fw45afg Datasheet - Page 68

no-image

tmp88fw45afg

Manufacturer Part Number
tmp88fw45afg
Description
8 Bit Microcontroller Tlcs-870/x Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
5.6
Port P5 (P57 to P50)
5.6
P5 Port Input/Output Registers
(01F8BH)
(00005H)
Table 5-5
Note 1: i = 7 to 0
Note 2: OFDRST shows a reset signal of oscillation frequency detection.
output control register (P5CR). When reset, the P5CR register is initialized to 0, with the P5 port set for input mode.
Also, the output latch (P5DR) is initialized to 0 when reset.
is used to select open-drain or tri-state mode for the port. When reset, the P5ODE register is initialized to 0, with tri-
state mode selected for the port.
the oscillation frequency detection reset and Port P5 becomes high impedance.
P5DR
P5CR
Port P5 (P57 to P50)
Port P5 is an 8-bit input/output port. This port is switched between input and output modes using the P5 port input/
The P5 port contains bit wise programmable open-drain control. The P5 port open-drain control register (P5ODE)
If high frequency oscillation stops or becomes abnormal in NORMAL/IDLE mode, the TMP88FW45AFG generates
P5ODE
0
0
0
0
1
1
1
1
P57
Z2
P5CR
7
7
P5CR
Control output
0
0
1
1
0
0
1
1
Control input
P56
Data output
Y2
6
6
P5 port input/output control
(Specify bit wise)
Data input
OFDRST
P5ODEi
OUTEN
P5CRi
STOP
P55
X2
P5DR
5
5
0
1
0
1
0
1
0
1
Output latch
P54
W2
D
4
4
Data input (by reading instruction)
Input Data from port (Low)
Input Data from port (Low)
Figure 5-7 Port P5
Q
"0" (output latch data)
"1" (output latch data)
Input Data from port
Input Data from port
Input Data from port
Input Data from port
P53
V2
0: Input mode
1: Output mode
3
3
Page 54
P52
U2
2
2
EMG2
P51
1
1
Input Data from port (Low)
Input Data from port (Low)
"0" (output latch data)
"1" (output latch data)
Input Data from port
Input Data from port
Input Data from port
Input Data from port
Control input
P50
CL2
0
0
Read/Write
(Initial value: 0000 0000)
(Initial value: 0000 0000)
P5i
TMP88FW45AFG
Output data
Hi-Z
Hi-Z
Hi-Z
Hi-Z
"0"
"1"
"0"
"0"
R/W

Related parts for tmp88fw45afg