CHAPTER 4 PORT FUNCTIONS
User’s Manual U16899EJ2V0UD
101
4.2.9 Port 12
Port 12 is a 1-bit I/O port with an output latch. Port 12 can be set to the input mode or output mode in 1-bit units
using port mode register 12 (PM12). When used as an input port, use of an on-chip pull-up resistor can be specified
by pull-up resistor option register 12 (PU12).
This port can also be used for external interrupt request input.
RESET input sets port 12 to input mode.
Figure 4-18 shows a block diagram of port 12.
Figure 4-18. Block Diagram of P120
P120/INTP0
WR
PU
RD
WR
PORT
WR
PM
PU120
Alternate
function
Output latch
(P120)
PM120
EV
DD
P-ch
Selector
Internal bus
PU12
PM12
PU12:
Pull-up resistor option register 12
PM12: Port mode register 12
RD: Read
signal
WR
××
: Write
signal
Содержание MuPD78F0132H
Страница 2: ...User s Manual U16899EJ2V0UD 2 MEMO ...