![Toshiba TLCS-900 Family Скачать руководство пользователя страница 136](http://html.mh-extra.com/html/toshiba/tlcs-900-family/tlcs-900-family_data-book_425998136.webp)
TMP92CZ26A
92CZ26A-133
3.7.8 Port A (PA0 to PA7)
Port A0 to A7 are 8-bit general-purpose input ports with pull-up resistor. In addition to
functioning as general-purpose I/O ports, port A0 to A7 can also Key-on wake-up function
as Keyboard interface. The various functions can each be enabled by writing a “1” to the
corresponding bit of the Port A Function Register (PAFC).
Resetting resets all bits of the register PAFC to “0” and sets all pins to be input port.
Figure 3.7.18 Port A
When PAFC = “1”, if either of input of KI0-KI7 pins falls down, INTKEY interrupt is
generated. INTKEY interrupt can release all HALT mode.
Internal data b
us
PA0 to PA7
(KI0 to KI7)
INTKEY
Rising edge
-ditection
KEY-ON
ENABLE
(on bit basis)
PAFC write
PA read
Pull-up resistor
Reset
PA0~PA7
8 input OR