Note; Port 7; Hardware Configuration; Setting The I/O Mode And Control Mode - NEC PD78212 User Manual

8-bit single-chip microcomputer sub-series
Table of Contents

Advertisement

µ PD78214 Sub-Series

5.7.5 Note

When P66 and P67 are used as analog input pins AN6 and AN7 respectively or when A/D conversion is not
performed, do not apply a voltage out of the range AV
for ANI0 through ANI2 of the A/D converter mode register (ADM).
See Chapter 8 for details.

5.8 PORT 7

Port 7 is a 6-bit input-only port. It functions as A/D converter analog input pins (AN0 through AN5) as well as input
port pins.
The level of each pin of port 7 can be read and tested, although it is a dual-function pin.

5.8.1 Hardware Configuration

Fig. 5-43 shows the hardware configuration of port 7.

5.8.2 Setting the I/O Mode and Control Mode

Port 7 is an input-only port.
Port 7 is designed so that it can always receive analog inputs. Therefore, it is unnecessary to specify a mode.
The ADM register for the A/D converter is used to specify the mode of A/D converter operation. (See Chapter 8
for details.)
92
through AV
SS
Fig. 5-43 Block Diagram of Port 7
Analog input
RD
IN
to these pins, if AN6 and AN7 are selected
REF
P7n
n = 0 to 5

Advertisement

Table of Contents
loading

Table of Contents