8.11.3
Pin Functions
Table 8-30 shows the port A pin functions.
Table 8-30 Port A Pin Functions
Pin
Pin Functions and Selection Method
The pin function depends on bit PCRA3 in PCRA and bits SGS3 to SGS0.
PA3/COM4
SGS3 to SGS0
PCRA3
0000
Not 0000
*
0
1
Pin function
PA3 input pin
PA3 output pin
COM4 output pin
PA2/COM3
PA1/COM2
PA0/COM1
The pin function depends on bit PCRA2 in PCRA and bits SGS3 to SGS0.
SGS3 to SGS0
PCRA2
0000
Not 0000
*
0
1
Pin function
PA2 input pin
PA2 output pin
COM3 output pin
The pin function depends on bit PCRA1 in PCRA and bits SGS3 to SGS0.
SGS3 to SGS0
PCRA1
0000
Not 0000
*
0
1
Pin function
PA1 input pin
PA1 output pin
COM2 output pin
The pin function depends on bit PCRA0 in PCRA and bits SGS3 to SGS0.
SGS3 to SGS0
PCRA0
0000
Not 0000
*
0
1
Pin function
PA0 input pin
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
Reset
Sleep
Subsleep Standby
Watch
Subactive Active
Functional Functional
PA3/COM4
PA2/COM3
PA1/COM2
PA0/COM1
High-
Retains
Retains
previous
state
High-
Retains
impedance previous
state
impedance previous
state
173