Datasheet

Section 8 I/O Ports
Rev. 6.00 Aug 04, 2006 page 250 of 680
REJ09B0145-0600
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
PA
3
/COM
4
The pin function depends on bit PCRA
3
in PCRA and bits SGS3 to SGS0.
SGS3 to SGS0 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.
SGS3 to SGS0 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.
SGS3 to SGS0 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.
SGS3 to SGS0 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.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
PA
3
/COM
4
PA
2
/COM
3
PA
1
/COM
2
PA
0
/COM
1
High-
impedance
Retains
previous
state
Retains
previous
state
High-
impedance
Retains
previous
state
Functional Functional