8.9.3
Pin Functions
Table 8-24 shows the port A pin functions.
Table 8-24
Port A Pin Functions
Pin
Pin Functions and Selection Method
PA
3
/COM
4
The pin function depends on bit PCRA
3
in PCRA and bits SGS3 to SGS0.
SEGS3 to SEGS0
0000
0000
Not 0000
PCRA
3
0
1
*
Pin function
PA
3
input pin
PA
3
output pin
COM
4
output pin
PA
2
/COM
3
The pin function depends on bit PCRA
2
in PCRA and bits SGS3 to SGS0.
SEGS3 to SEGS0
0000
0000
Not 0000
PCRA
2
0
1
*
Pin function
PA
2
input pin
PA
2
output pin
COM
3
output pin
PA
1
/COM
2
The pin function depends on bit PCRA
1
in PCRA and bits SGS3 to SGS0.
SEGS3 to SEGS0
0000
0000
Not 0000
PCRA
1
0
1
*
Pin function
PA
1
input pin
PA
1
output pin
COM
2
output pin
PA
0
/COM
1
The pin function depends on bit PCRA
0
in PCRA and bits SGS3 to SGS0.
SEGS3 to SEGS0
0000
Not 0000
PCRA
0
0
1
*
Pin function
PA
0
input pin
PA
0
output pin
COM
1
output pin
*:
Don’t care
8.9.4
Pin States
Table 8-25 shows the port A pin states in each operating mode.
Table 8-25 Port A Pin States
Pins
Reset
Sleep
Subsleep
Standby
Watch
Subactive
Active
PA
3
/COM
4
High- Retains
Retains
High-
Retains
Functional
Functional
PA
2
/COM
3
impedance
previous
previous
impedance
previous
PA
1
/COM
2
state
state
state
PA
0
/COM
1
168