8.5.3 Pin Functions
Table 8-12 shows the port 5 pin functions.
Table 8-12 Port 5 Pin Functions
Pin
Pin Functions and Selection Method
P5
7
/
WKP
7
/
The pin function depends on bit WKP
n
in PMR5, bit PCR5
n
in PCR5, and bits
SEG
8
to
SGS3 to SGS0 in LPCR.
P5
0
/
WKP
0
/
(n = 7 to 0)
SEG
1
SGS3 to SGS0
0
***
1
***
WKP
n
0
1
*
PCR5
n
0
1
*
*
Pin function
P5
n
input pin
P5
n
output pin
WKPn
SEGn+1
input pin
output pin
*:
Don’t care
154