Datasheet
Section 8 I/O Ports
Rev. 8.00 Mar. 09, 2010 Page 218 of 658
REJ09B0042-0800
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
/
SEG
8
to
The pin function depends on bits WKP
7
to WKP
0
in PMR5, bits PCR5
7
to PCR5
0
in PCR5, and bits SGS3 to SGS0 in LPCR.
P5
0
/WKP
0
/
SEG
1
P5
7
to P5
4
(n = 7 to 4)
SGS3 to SGS0 Other than 0010, 0011, 0100, 0101, 0110,
0111, 1000, 1001
0010, 0011,
0100, 0101,
0110, 0111,
1000, 1001
WKP
n
0 1 *
PCR5
n
0 1 * *
Pin function P5
n
input pin P5
n
output pin WKPn input
pin
SEGn+1
output pin
P5
3
to P5
0
(m= 3 to 0)
SGS3 to SGS0 Other than 0001, 0010, 0011, 0100, 0101,
0110, 0111, 1000
0001, 0010,
0011, 0100,
0101, 0110,
0111, 1000
WKP
m
0 1 *
PCR5
m
0 1 * *
Pin function P5
m
input pin P5
m
output
pin
WKPm output
pin
SEGm+1
output pin
*: Don’t care










