Port 0; Block Diagram Of P00 To P07 - NEC switch User Manual

Nec user's manua switch
Table of Contents

Advertisement

4.2.1 Port 0

This is an 8-bit I/O port with an output latch. Port 0 can be specified in the input or output mode in 1-bit units by
using port mode register 0 (PM0). When the P00 to P07 pins are used as input port pins, on-chip pull-up resistors
can be connected in 8-bit units by using pull-up resistor option register 0 (PU0). CMOS output or N-ch open-drain
output can also be specified in 8-bit unit by using port output mode register 0 (POM0).
Port 0 is set in the input mode when the RESET signal is input.
Figure 4-2 shows a block diagram of port 0.
WR
POM0
WR
PU0
RD
WR
PORT
WR
PM
PM00 to PM07
POM0:
Port output mode register 0
PU0:
Pull-up resistor option register 0
PM:
Port mode register
RD:
Port 0 read signal
WR:
Port 0 write signal
60
CHAPTER 4
Figure 4-2. Block Diagram of P00 to P07
POM00
PU00
Output latch
(P00 to P07)
User's Manual U12978EJ3V0UD
PORT FUNCTIONS
V
DD0
P-ch
P00 to P07
V
DD0
P-ch
N-ch

Advertisement

Table of Contents
loading

Table of Contents