Toshiba H1 Series Data Book page 160

32bit micro controller tlcs-900/h1 series
Table of Contents

Advertisement

3.7.17 Port P (PP1 to PP7)
Port P1 to P5 are 6-bit general-purpose I/O ports. Each bit can be set individually for
input or output. Resetting sets port P1 to P5 to input port and output latch to "0". In
addition to functioning as general-purpose I/O port pins, P0 to P5 can also function as
output pin for timers (TA3OUT, TA5OUT, TA7OUT), input pin for timers (TB0IN0,
TB1IN0), input pin for external interruption (INT5 to INT7).
Port P6 and P7 are 2-bit output port. Resetting sets output latch to "0".In addition to
functioning as output port, PP6 and PP7 can also function as output pin for timers
(TB0OUT0, TB1OUT1).
Above setting is used the control register PPCR and function register PPFC.
Edge select of external interruption establishes it with IIMC register, which there is in
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>.
Reset
Direction
control
(on bit basis)
PPCR write
Function
control
(on bit basis)
PPFC write
R
Output latch
PP write
TA3OUT output
TA5OUT output
PP read
A
S
Selector
B
S
B
Selector
A
Figure 3.7.44 Port P1, P2
92CZ26A-157
TMP92CZ26A
PP1 (TA3OUT)
PP2 (TA5OUT)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tlcs-900Tmp92cz26axbg

Table of Contents