144
CHAPTER 6 PORT FUNCTIONS
6.2.10 Port 12
This is an 8-bit input/output port with output latches. Input mode/output mode can be specified bit-wise by means
of port mode register 12 (PM12). When pins P120 to P127 are used as input port pins, an on-chip pull-up resistor
can be used as an 8-bit unit by means of pull-up resistor option register H (PUOH).
Alternate function includes real-time output.
RESET input sets the input mode.
Figure 6-17 shows a block diagram of port 12.
Figure 6-17. P120 to P127 Block Diagram
PUO : Pull-up resistor option register
PM
: Port mode register
RD
: Port 12 read signal
WR : Port 12 write signal
P-ch
WR
PM
WR
PORT
RD
WR
PUO
AV
DD
Selector
PUO12
Output Latch
(P120 to P127)
PM120 to PM127
Internal bus
P120/RTP0
to
P127/RTP7
Summary of Contents for PD78056F
Page 2: ...2 MEMO ...
Page 14: ...14 MEMO ...
Page 34: ...34 MEMO ...
Page 154: ...154 MEMO ...
Page 170: ...170 MEMO ...
Page 238: ...238 MEMO ...
Page 278: ...278 MEMO ...
Page 432: ...432 MEMO ...
Page 476: ...476 MEMO ...
Page 548: ...548 MEMO ...
Page 564: ...564 MEMO ...
Page 580: ...580 MEMO ...
Page 584: ...584 MEMO ...
Page 592: ...592 MEMO ...