Port 0 - NEC 78K0 User Manual

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

Advertisement

4.2.1

Port 0

Port 0 is a 7-bit I/O port with an output latch. Port 0 can be set to the input mode or output mode in 1-bit units
using port mode register 0 (PM0). When the P00 to P06 pins are used as an input port, use of an on-chip pull-up
resistor can be specified by pull-up resistor option register 0 (PU0).
This port can also be used for timer I/O, serial interface data I/O, and clock I/O.
RESET input sets port 0 to input mode.
Figures 4-2 to 4-5 show block diagrams of port 0.
Caution When P02/SO11
write to serial clock selection register 11 (CSIC11).
WR
PU
PU00, PU03, PU05
Alternate function
RD
WR
PORT
Output latch
(P00, P03, P05)
WR
PM
PM00, PM03, PM05
Note Available only in the
PU0:
Pull-up resistor option register 0
PM0: Port mode register 0
RD:
Read signal
WR××: Write signal
CHAPTER 4 PORT FUNCTIONS
Note
Note
, P03/SI11
, and P04/SCK11
Figure 4-2. Block Diagram of P00, P03, and P05
PU0
PM0
µ
PD780146, 780148, and 78F0148.
User's Manual U15947EJ2V0UD
Note
are used as general-purpose ports, do not
*
EV
DD
P-ch
P00/TI000,
Note
P03/SI11
,
Note
P05/SSI11
/TI001
Note
99

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

78kf1

Table of Contents