TMP92CF30
2009-06-12
92CF30-133
3.7.17 Port P (PP3 to PP7)
Ports P3 to P5 are 3-bit general-purpose I/O ports. Each bit can be set individually for
input or output. Resetting sets port P3 to P5 to input port and output latch to “0”.
In addition to functioning as general-purpose I/O port, P3 to P5 can also function as an
output pin for timer (TA7OUT), as an input pin for timers (TB0IN0, TB1IN0), and as an
input pin for external interruption (INT5 to INT7), serial transfer SIO0 (TXD0, RXD0,
SCLK0,
0
CTS ), SIO1 (TXD1, RXD1, SCLK1,
1
CTS ).
Port P6 is 1-bit output port. Resetting sets output latch to “0”.
In addition to functioning as an output port, PP6 and PP7 can also function as an output
pin for timer (TB0OUT0).
Setting in the corresponding bits of PPCR and PPFC enables the respective functions.
The edge select for external interruption is determined by the IIMC register in the
interruption controller.
In port setting, if 16 bit timer input is selected and capture control is executed, INT6 and
INT7 don’t depend on IIMC1 register setting. INT6 and INT7 operate by setting
TBnMOD<TBnCPM1:0>.
Figure 3.7.44 Port P3
Selector
A
B
S
PP3 (INT5,TA7OUT,
TXD0, TXD1)
PP read
Direction control
(on bit basis)
PPCR write
Function
control
(on bit basis)
R
Output latch
PP write
Reset
PPFC write
Level/edge selection
and
Rising/Falling selection
INT5
IIMC<I5LE, I5EDGE>
Selector
B
A
S
TA7OUT
Internal dat
a
bus
Selector
B
A S
Selector
B
A
S
TXD1
TXD0
<PP1F2>
<PP4F2>
<PP1F2>
Open-drain possible
PPFC2<PP0F2>
<PP1F2>
Summary of Contents for TLCS-900/H1 Series
Page 652: ...TMP92CF30 2009 06 12 92CF30 650 ...