English
Language : 

UPD78F0411GA-GAM-AX Datasheet, PDF (107/564 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
CHAPTER 4 PORT FUNCTIONS
Notes 1.
2.
μPD78F041x only.
The functions of the P20/ANI0 to P25/ANI5 pins are determined according to the settings of port
function register 2 (PF2), A/D port configuration register 0 (ADPC0), port mode register 2 (PM2),
analog input channel specification register (ADS).
Table 4-6. Setting Functions of P20/SEG21/ANI0Note to P25/SEG16/ANI5Note Pins
PF2
ADPC0Note
PM2
ADS
P20/SEG21/ANI0Note to
P25/SEG16/ANI5Note Pins
Digital/Analog
selection
Analog input
selection
Input mode
Does not select
ANI.
Analog input (not to be converted)
Selects ANI.
Analog input (to be converted by successive
approximation type A/D converter)
Output mode
−
Setting prohibited
Digital I/O
selection
Input mode
Output mode
−
Digital input
−
Digital output
SEG output
−
selection
−
−
Segment outpu
Note μPD78F041x only.
3. 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), 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 5.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 Input port pins).
4. Targeted at registers corresponding to each port.
5. RxD6 can be set as the input source for TI000 by setting ISC1 = 1.
6. Input enable of TM52 via TMH2 can be controlled by setting ISC2 = 1.
7. RxD6 can be set as the input source for INTP0 by setting ISC0 = 1.
8. When the P40/KR0/VLC3 pin is set to the 1/4 bias method, it is used as VLC3. When the pin is set to
another bias method, it is used for the port function (P40) or the key interrupt function (KR0).
9. Set PF13 = 0 when using as port function.
Remarks 1. ×:
Don’t care
−:
Does not apply.
PM××: Port mode register
P××: Port output latch
2. The functions within arrowheads (< >) can be assigned by setting the input switch control register
(ISC).
3. X1, X2 pins can be used as on-chip debug mode setting pins (OCD0A, OCD0B) when the on-chip
debug function is used. For detail, see CHAPTER 25 ON-CHIP DEBUG FUNCTION.
User’s Manual U18698EJ1V0UD
105