NEC 78K0 Series User Manual page 133

8-bit single-chip microcontrollers
Hide thumbs Also See for 78K0 Series:
Table of Contents

Advertisement

Notes 1.
The function of the ANI0/P20 to ANI7/P27 pins can be selected by using the A/D port configuration
register (ADPC), the analog input channel specification register (ADS), and PM2.
Table 5-6. Setting Functions of ANI0/P20 to ANI7/P27 Pins
ADPC
Analog input selection
Digital I/O selection
2.
When using the P121 to P124 pins to connect a resonator for the main system clock (X1, X2) or
subsystem clock (XT1, XT2), or to input an external clock for the main system clock (EXCLK) or
subsystem clock (EXCLKS), the X1 oscillation mode, XT1 oscillation mode, or external clock input
mode must be set by using the clock operation mode select register (OSCCTL) (for details, see 6.3 (1)
Clock operation mode select register (OSCCTL) and (3) Setting of operation mode for
subsystem clock pin). The reset value of OSCCTL is 00H (all of the P121 to P124 are I/O port pins).
At this time, setting of PM121 to PM124 and P121 to P124 is not necessary.
CHAPTER 5 PORT FUNCTIONS
PM2
Input mode
Selects ANI.
Does not select ANI.
Output mode
Selects ANI.
Does not select ANI.
Input mode
Selects ANI.
Does not select ANI.
Output mode
Selects ANI.
Does not select ANI.
Preliminary User's Manual U17260EJ3V1UD
ADS
ANI0/P20 to ANI7/P27 Pins
Analog input (to be converted)
Analog input (not to be converted)
Setting prohibited
Setting prohibited
Digital input
Setting prohibited
Digital output
133

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents