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
/COM
The pin function depends on bit PCRA
3
4
SEGS3 to SEGS0
PA
/COM
The pin function depends on bit PCRA
2
3
SEGS3 to SEGS0
PA
/COM
The pin function depends on bit PCRA
1
2
SEGS3 to SEGS0
PA
/COM
The pin function depends on bit PCRA
0
1
SEGS3 to SEGS0
168
PCRA
3
Pin function
PA
PCRA
2
Pin function
PA
PCRA
1
Pin function
PA
PCRA
0
Pin function
PA
in PCRA and bits SGS3 to SGS0.
3
0000
0
input pin
PA
3
3
in PCRA and bits SGS3 to SGS0.
2
0000
0
input pin
PA
2
2
in PCRA and bits SGS3 to SGS0.
1
0000
0
input pin
PA
1
1
in PCRA and bits SGS3 to SGS0.
0
0000
0
input pin
PA
0
0
0000
Not 0000
1
output pin
COM
4
0000
Not 0000
1
output pin
COM
3
0000
Not 0000
1
output pin
COM
2
Not 0000
1
output pin
COM
1
*: Don't care
*
output pin
*
output pin
*
output pin
*
output pin