Port 13; Block Diagram Of P130 And P131 - NEC PD78076 User Manual

Pd78078 series; pd78078y series 8-bit single-chip microcontrollers
Table of Contents

Advertisement

6.2.14 Port 13

This is a 2-bit input/output port with output latches. Input mode/output mode can be specified in 1-bit units with
the port mode register 13 (PM13). When pins P130 and P131 are used as input port pins, an on-chip pull-up resistor
can be connected in 2-bit units with a pull-up resistor option register H (PUOH).
These pins are dual function pin and serve as D/A converter analog outputs.
RESET input sets the input mode.
The port 13 block diagram is shown in Figure 6-23.
Caution When only either one of the D/A converter channels is used with AV
pins that are not used as analog outputs must be set as follows:
• Set PM13x bit of the port mode register 13 (PM13) to 1 (input mode) and connect the pin
to V
.
SS
• Set PM13x bit of the port mode register 13 (PM13) to 0 (output mode) and the output latch
to 0, to output low level from the pin.
WR
PUO
RD
WR
PORT
WR
PM
PUO : Pull-up resistor option register
PM : Port mode register
RD
: Port 13 read signal
WR : Port 13 write signal
156
CHAPTER 6 PORT FUNCTIONS
Figure 6-23. Block Diagram of P130 and P131
PUO13
Selector
Output Latch
(P130, P131)
PM130, PM131
< V
, the other
REF1
DD
V
DD
P-ch
P130/ANO0,
P131/ANO1

Advertisement

Table of Contents
loading

Table of Contents