162
8.7.3
Pin Functions
Table 8.18 shows the port 7 pin functions.
Table 8.18
Port 7 Pin Functions
Pin
Pin Functions and Selection Method
P7
7
/SEG
24
to
P7
0
/SEG
17
The pin function depends on bit PCR7
n
in PCR7 and bits SGS3 to SGS0 in
LPCR.
(n = 7 to 0)
SEGS3 to SEGS0
00
**
01
**
, 1
***
PCR7
n
0
1
*
Pin function
P7
n
input pin
P7
n
output pin
SEG
n+17
output pin
*
: Don’t care
8.7.4
Pin States
Table 8.19 shows the port 7 pin states in each operating mode.
Table 8.19
Port 7 Pin States
Pins
Reset
Sleep
Subsleep Standby
Watch
Subactive Active
P7
7
/SEG
24
to
P7
0
/SEG
17
High-
impedance
Retains
previous
state
Retains
previous
state
High-
impedance
Retains
previous
state
Functional Functional