Rev. 5.00, 09/03, page 582 of 760
18.3.12 SC Port Control Register (SCPCR)
Bit: 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SCP7
MD1
SCP7
MD0
SCP6
MD1
SCP6
MD0
SCP5
MD1
SCP5
MD0
SCP4
MD1
SCP4
MD0
SCP3
MD1
SCP3
MD0
SCP2
MD1
SCP2
MD0
SCP1
MD1
SCP1
MD0
SCP0
MD1
SCP0
MD0
Initial value:1010100010001000
R/W: R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W
The SC port control register (SCPCR) is a 16-bit readable/writable register that selects the pin
functions. The setting of SCPCR is valid only when transmit/receive operations are disabled in the
SCSCR register. SCPCR is initialized to H'A888 by a power-on reset, but is not initialized by a
manual reset, in standby mode, or in sleep mode. When the TE bit in SCSCR is set to 1, the “other
function” output state has a higher priority than the SCPCR setting for the TxD[2:0] pins. When
the RE bit in SCSCR is set to 1, the input state has a higher priority than the SCPCR setting for the
RxD[2:0] pins.
Bits 15 and 14—SCP7 Mode 1 and 0 (SCP7MD1, SCP7MD0): These bits select the pin
function and perform input pull-up MOS control.
Bit 15 Bit 14
SCP7MD1 SCP7MD0 Pin Function
0 0 Other function (see table 18.1)
0 1 Reserved
1 0 Port input (Pull-up MOS: on) (Initial value)
1 1 Port input (Pull-up MOS: off)
Bits 13, 12—SCP6 Mode 1, 0 (SCP6MD1, SCP6MD0): These bits select the pin function and
perform input pull-up MOS control.
Bit 13 Bit 12
SCP6MD1 SCP6MD0 Pin Function
0 0 Other function (see table 18.1)
0 1 Port output
1 0 Port input (Pull-up MOS: on) (Initial value)
1 1 Port input (Pull-up MOS: off)