beautypg.com

5 note, 8 port 7, 1 hardware configuration – NEC PD78214 User Manual

Page 121: 2 setting the i/o mode and control mode

background image

92

µ

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

SS

through AV

REF

to these pins, if AN6 and AN7 are selected

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.

Fig. 5-43 Block Diagram of Port 7

Internal bus

RD

IN

P7n
n = 0 to 5

Analog input

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.)

This manual is related to the following products: