8.6.3 Pin Functions
Table 8-15 shows the port 6 pin functions.
Table 8-15 Port 6 Pin Functions
Pin
Pin Functions and Selection Method
P6
7
/SEG
16
The pin function depends on bit PCR6n in PCR6 and bits SGS3 to SGS0 in LPCR.
to P6
0
/SEG
9
(n = 7 to 0)
SEG3 to SEGS0
00
**
, 010
*
011
**
, 1
***
PCR6
n
0
1
*
Pin function
P6
n
input pin
P6
n
output pin
SEG
n+9
output pin
*:
Don’t care
8.6.4 Pin States
Table 8-16 shows the port 6 pin states in each operating mode.
Table 8-16 Port 6 Pin States
Pin
Reset
Sleep
Subsleep
Standby
Watch
Subactive
Active
P6
7
/SEG
16
High-
Retains Retains High-
Retains Functional
Functional
to
impedance
previous previous impedance
*
previous
P6
0
/SEG
9
state
state
state
Note:
*
A high-level signal is output when the MOS pull-up is in the on state.
8.6.5 MOS Input Pull-Up
Port 6 has a built-in MOS pull-up function that can be controlled by software. When a PCR6 bit is
cleared to 0, setting the corresponding PUCR6 bit to 1 turns on the MOS pull-up for that pin. The
MOS pull-up function is in the off state after a reset.
PCR6
n
0
0
1
PUCR6
n
0
1
*
MOS input pull-up
Off
On
Off
(n = 7 to 0)
*:
Don’t care
158