CHAPTER 4 PORT FUNCTIONS
User’s Manual U16899EJ2V0UD
85
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 in 1-bit units 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
Note
, P03/SI11
Note
, and P04/SCK11
Note
are used as general-purpose ports, do not
write to serial clock selection register 11 (CSIC11).
Figure 4-2. Block Diagram of P00, P03, and P05
P00/TI000,
P03/SI11
Note
,
P05/SSI11
Note
/TI001
Note
WR
PU
RD
WR
PORT
WR
PM
PU00, PU03, PU05
Alternate function
Output latch
(P00, P03, P05)
PM00, PM03, PM05
EV
DD
P-ch
Selector
Internal bus
PU0
PM0
Note Available only in the
µ
PD78F0133H, 78F0134H, 78F0136H, 78F0138H, and 78F0138HD.
PU0:
Pull-up resistor option register 0
PM0:
Port mode register 0
RD: Read
signal
WR
××
: Write
signal
Содержание MuPD78F0132H
Страница 2: ...User s Manual U16899EJ2V0UD 2 MEMO ...