UPD78F0838 Renesas Electronics Corporation., UPD78F0838 Datasheet - Page 172

no-image

UPD78F0838

Manufacturer Part Number
UPD78F0838
Description
8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
170
Remarks 1. The function of the ANI0/P20 to ANI7/P27 pins can be selected by using the A/D port configuration
Digital I/O selection
Analog input selection
2. When using the P121 to P124 pins to connect a resonator for the main system clock (X1, X2) or
3. P31/SEG5, P32/SEG6, P121/X1, and P122/X2/EXCLK can be used as on-chip debug mode setting
ADPC
register (ADPC), the analog input channel specification register (ADS), and PM2.
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 detail, see 5.3 (5)
Clock operation mode select register (OSCCTL)). The reset value of OSCCTL is 00H (all of the
P121 to P124 pins are I/O port pins). At this time, setting of the PM121 to PM124 and P121 to P124
pins is not necessary.
pins (OCD1A, OCD1B, OCD0A, OCD0B) when the on-chip debug function is used. For how to
connect an in-circuit emulator supporting on-chip debugging (QB-78K0MINI or QB-MINI2), see
CHAPTER 27 ON-CHIP DEBUG FUNCTION.
Input mode
Output mode
Input mode
Output mode
PM2
Preliminary User’s Manual U19748EJ1V0UD
CHAPTER 4 PORT FUNCTIONS
Selects ANI.
Does not select ANI.
Does not select ANI.
Selects ANI.
ADS
Digital input
Digital output
Analog input (to be converted)
Analog input (not to be converted)
Setting prohibited
P20/ANI0 to P27/ANI7 Pin

Related parts for UPD78F0838