CHAPTER 2 PIN FUNCTIONS
User's Manual U11919EJ3V0UM00
36
2.2.4 P30 to P32 (Port 3)
These pins constitute a 3-bit I/O port. In addition, they also function as external interrupt input and capture edge
input.
This port can drive LEDs directly.
Port 3 can be specified in the following operation modes in bit-wise.
(1)
Port mode
In this mode, port 3 functions as a 3-bit I/O port. Port 3 can be set in the input or output mode in 1-bit units
by using the port mode register 3 (PM3). When the port is used as an input port, an on-chip pull-up resistor
can be used in the pull-up resistor option register (PUO).
(2)
Control mode
In this mode, port 3 functions as the external interrupt input.
(a) INTP0 to INTP2
These pins input external interrupt for which effective edges (rising edge, falling edge, and both the rising
and falling edges) can be specified.
(b) CPT2
This is a capture edge input pin.
2.2.5 P40 to P47 (Port 4)
These pins constitute an 8-bit I/O port. In addition, they also function as key return signal detection.
This port can drive LEDs directly.
Port 4 can be set in the following operation modes in bit-wise.
(1)
Port mode
In this mode, port 4 functions as an 8-bit I/O port which can be set in the input or output mode in 1-bit units
by using the port mode register 4 (PM4). When used as an input port, an on-chip pull-up resistor can be
used in the pull-up resistor option register (PUO).
(2)
Control mode
In this mode, the pins of port 4 can be used as key return signal detection pin (KR0 to KR7).
www.DataSheet4U.com
Содержание UPD789022
Страница 2: ...User s Manual U11919EJ3V0UM00 2 MEMO www DataSheet4U com ...
Страница 8: ...User s Manual U11919EJ3V0UM00 8 MEMO www DataSheet4U com ...
Страница 12: ...User s Manual U11919EJ3V0UM00 12 MEMO www DataSheet4U com ...
Страница 22: ...User s Manual U11919EJ3V0UM00 22 MEMO www DataSheet4U com ...
Страница 32: ...User s Manual U11919EJ3V0UM00 32 MEMO www DataSheet4U com ...
Страница 84: ...User s Manual U11919EJ3V0UM00 84 MEMO www DataSheet4U com ...
Страница 92: ...User s Manual U11919EJ3V0UM00 92 MEMO www DataSheet4U com ...
Страница 104: ...User s Manual U11919EJ3V0UM00 104 MEMO www DataSheet4U com ...
Страница 166: ...User s Manual U11919EJ3V0UM00 166 MEMO www DataSheet4U com ...
Страница 178: ...User s Manual U11919EJ3V0UM00 178 MEMO www DataSheet4U com ...
Страница 184: ...User s Manual U11919EJ3V0UM00 184 MEMO www DataSheet4U com ...
Страница 204: ...User s Manual U11919EJ3V0UM00 204 MEMO www DataSheet4U com ...
Страница 206: ...User s Manual U11919EJ3V0UM00 206 MEMO www DataSheet4U com ...
Страница 212: ...User s Manual U11919EJ3V0UM00 212 MEMO www DataSheet4U com ...