English
Language : 

HD6473837H Datasheet, PDF (175/562 Pages) Renesas Technology Corp – Hardware Manual
8.6.3 Pin Functions
Table 8.15 shows the port 5 pin functions.
Table 8.15 Port 5 Pin Functions
Pin
P57/WKP7/
SEG8to P54/
WKP4/SEG5
Pin Functions and Selection Method
The pin function depends on bit WKPn in PMR5, bit PCR5n in PCR5, and bits
SGS3 to SGS0 in LPCR.
(n = 7 to 4)
SGS3 to SGS0
0***
1***
WKPn
0
1
*
PCR5n
Pin function
0
P5n input
pin
1
P5n output
pin
*
WKPn input
pin
*
SEGn+1 output
pin
P53/WKP3/
SEG4 to P50/
WKP0/SEG1
The pin function depends on bit WKPn in PMR5, bit PCR5n in PCR5, and bits
SGS3 to SGS0 in LPCR.
(n = 3 to 0)
SGS3 to SGS0
0*** or 1**0
1**1
WKPn
0
1
*
PCR5n
0
1
*
*
Pin function
P5n input
pin
P5n output
pin
WKPn input SEGn+1 output
pin
pin
Note: * Don’t care
8.6.4 Pin States
Table 8.16 shows the port 5 pin states in each operating mode.
Table 8.16 Port 5 Pin States
Pins
Reset
Sleep Subsleep Standby Watch Subactive Active
P57/WKP7/ High-
Retains
SEG8 to P50/ impedance previous
WKP0/SEG1
state
Retains
previous
state
High-
Retains Functional
impedance* previous
state
Note: * A high-level signal is output when the MOS pull-up is in the on state.
Functional
158