English
Language : 

HD6433832S Datasheet, PDF (159/560 Pages) Renesas Technology Corp – single-chip microcomputers
8.3.3 Pin Functions
Table 8.6 shows the port 2 pin functions.
Table 8.6 Port 2 Pin Functions
Pin
P27 to P22
Pin Functions and Selection Method
Input or output is selected as follows by the bit settings in PCR2.
(n = 2 to 7)
PCR2n
0
1
Pin function
P2n input pin
P2n output pin
P21/UD
The pin function depends on bit UD in PMR2 and bit PCR21 in PCR2.
UD
0
1
PCR21
Pin function
0
1
P21 input pin P21 output pin
*
UD input pin
P20/IRQ4/ADTRG The pin function depends on bit IRQ4 in PMR2, bit TRGE in AMR, and bit
PCR20 in PCR2.
IRQ4
0
1
PCR20
TRGE
0
1
*
*
0
1
Pin function
P20 input pin P20 output pin IRQ4 input pin IRQ4/ADTRG
input pin
Note: When using as ADTRG input pin, clear bit IEN4 in IENR1 to 0, disabling
IRQ4 interrupts.
Note: * Don’t care
8.3.4 Pin States
Table 8.7 shows the port 2 pin states in each operating mode.
Table 8.7 Port 2 Pin States
Pins
P27 to P22
P21/UD
P20/IRQ4/
ADTRG
Reset
High-
impedance
Sleep
Retains
previous
state
Subsleep
Retains
previous
state
Standby
High-
impedance
Watch Subactive Active
Retains Functional Functional
previous
state
144