401
WEGR—Wakeup Edge Select Register
H'90
System control
SPCR—Serial Port Control Register
H'91
SCI
Bit
Initial value
Read/Write
7
—
1
—
6
—
1
—
5
SPC32
0
R/W
0
SCINV0
0
R/W
2
SCINV2
0
R/W
1
SCINV1
0
R/W
4
SPC31
0
R/W
RXD
31
pin input data inversion switch
0
RXD
31
input data is not inverted
1
RXD
31
input data is inverted
TXD
31
pin output data inversion switch
0
TXD
31
output data is not inverted
1
TXD
31
output data is inverted
RXD
32
pin input data inversion switch
0
RXD
32
input data is not inverted
1
RXD
32
input data is inverted
TXD
32
pin output data inversion switch
0
TXD
32
output data is not inverted
1
TXD
32
output data is inverted
P3
5
TXD
31
pin function switch
0
Functions as P3
5
I/O pin
1
Functions as TXD
31
output pin
P4
2
/TXD
32
pin function switch
0
Function as P4
2
I/O pin
1
Function as TXD
32
output pin
3
SCINV3
0
R/W
Bit
Initial value
Read/Write
7
WKEGS7
0
R/W
6
WKEGS6
0
R/W
5
WKEGS5
0
R/W
0
WKEGS0
0
R/W
2
WKEGS2
0
R/W
1
WKEGS1
0
R/W
4
WKEGS4
0
R/W
WKPn edge selected
0
WKPn pin falling edge detected
(n = 0 to 7)
1
WKPn pin rising edge detected
3
WKEGS3
0
R/W