Port 12 - NEC 78K0 User Manual

8-bit single-chip microcontrollers
Hide thumbs Also See for 78K0:
Table of Contents

Advertisement

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 input.
RESET input sets port 12 to input mode.
Figure 4-20 shows a block diagram of port 12.
WR
PU
RD
WR
PORT
WR
PM
PU12: Pull-up resistor option register 12
PM12: Port mode register 12
RD:
Read signal
WR××: Write signal
CHAPTER 4 PORT FUNCTIONS
Figure 4-20. Block Diagram of P120
PU12
PU120
Alternate
function
Output latch
*
(P120)
PM12
PM120
User's Manual U15947EJ2V0UD
EV
DD
P-ch
P120/INTP0
117

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

78kf1

Table of Contents