English
Language : 

HD6473887 Datasheet, PDF (190/523 Pages) Renesas Technology Corp – Hitachi Single-Chip Microcomputer
8.11.3
Pin Functions
Table 8-30 shows the port A pin functions.
Table 8-30 Port A Pin Functions
Pin
PA3/COM4
PA2/COM3
PA1/COM2
PA0/COM1
Pin Functions and Selection Method
The pin function depends on bit PCRA3 in PCRA and bits SGS3 to SGS0.
SGS3 to SGS0
0000
Not 0000
PCRA3
Pin function
0
PA3 input pin
1
PA3 output pin
*
COM4 output pin
The pin function depends on bit PCRA2 in PCRA and bits SGS3 to SGS0.
SGS3 to SGS0
0000
Not 0000
PCRA2
Pin function
0
PA2 input pin
1
PA2 output pin
*
COM3 output pin
The pin function depends on bit PCRA1 in PCRA and bits SGS3 to SGS0.
SGS3 to SGS0
0000
Not 0000
PCRA1
Pin function
0
PA1 input pin
1
PA1 output pin
*
COM2 output pin
The pin function depends on bit PCRA0 in PCRA and bits SGS3 to SGS0.
SGS3 to SGS0
0000
Not 0000
PCRA0
Pin function
0
PA0 input pin
1
PA0 output pin
*
COM1 output pin
*: Don’t care
8.11.4 Pin States
Table 8-31 shows the port A pin states in each operating mode.
Table 8-31 Port A Pin States
Pins
PA3/COM4
PA2/COM3
PA1/COM2
PA0/COM1
Reset
Sleep
High-
Retains
impedance previous
state
Subsleep
Retains
previous
state
Standby
High-
impedance
Watch
Retains
previous
state
Subactive Active
Functional Functional
173