tmp88cs43fg TOSHIBA Semiconductor CORPORATION, tmp88cs43fg Datasheet - Page 57

no-image

tmp88cs43fg

Manufacturer Part Number
tmp88cs43fg
Description
8 Bit Microcontroller Tlcs-870/x Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
5.3 Port P2 (P22 to P20)
P2 Port Input/Output Registers
(00002H)
this port as these functional pins or an input port, set the output latch to 1. When reset, the output latch is initialized
to 1.
using this port as an output port, note that the interrupt latch is set by a falling edge of output pulse. And note that
outputs on this port during STOP mode go to a high-impedance state even if SYSCR1<OUTEN> is set "1" , because
P20 port is also used as
any other instruction is executed, the external pin state is read out.
P2DR
Port P2 is a 3-bit input/output port shared with external interrupt input and STOP mode release signal. When using
We recommend using the P20 pin as external interrupt input, STOP mode release signal input, or input port. When
When a read instruction is executed on P2 port, indeterminate values are read in from bits 7 to 3.
When any read-modify-write instruction is executed on P2 port, the content of the output latch is read out. When
Note 1: When a read instruction is executed on P2 port, indeterminate values are read in from bits 7 to 3.
Note 2: Port P20 is used as
Note 3: *: Don’t care
becomes High-Z mode.
7
Control input
Data output
Data input
6
SET/CLR/CPL, etc
STOP
STOP
5
port.
pin. Therefore, when stop mode is started, SYSCR1<OUTEN> does not affect to P20, and P20
utput latch
4
D
Figure 5-4 Port P2
Q
3
Page 47
PWM4
PDO4
INT4
P22
TC4
2
CMP/MCMP/TEST, etc
INT3
P21
TC3
1
STOP
INT5
P20
0
Read/Write
(Initial value: **** *111)
P20, P21, P22
TMP88CS43FG

Related parts for tmp88cs43fg