Panasonic MN103001G/F01K User Manual

Page of 466
Serial Interface
13-6
13.2.3
Description of Registers for the General-Purpose Serial Interface
The general-purpose serial interface includes the registers listed in Table 13-2-1.  These registers are used for
settings such as clock source selection, parity bit selection, and protocol selection.
Table 13-2-1   List of General-Purpose Serial Interface Registers
Address
Name
Symbol
Number of bits Initial value
Access size
x'34000800
Serial 0 control register
SC0CTR
16
x'0000
8, 16
x'34000804
Serial 0 interrupt mode register
SC0ICR
8
x'00
8
x'34000808
Serial 0 transmission buffer
SC0TXB
8
x'00
8
x'34000809
Serial 0 reception buffer
SC0RXB
8
x'00
8
x'3400080C Serial 0 status register
SC0STR
16
x'0000
8, 16
Serial 0 control register
Register symbol: SC0CTR
Address:
x'34000800
Purpose:
This register sets the serial interface 0 operation control conditions.
Bit  No.
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Bit
SC0
SC0
SC0
SC0
SC0
SC0
SC0
SC0
SC0
SC0
SC0
SC0
SC0
SC0
SC0
SC0
name
TXE RXE BKE
IIC
MD1 MD0
OD
TOE CLN
PB2
PB1
PB0
STB
CK2
CK1
CK0
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Access
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
Bit No.
Bit name
Description
0
SC0CK0
Clock source selection (LSB)
1
SC0CK1
Clock source selection
2
SC0CK2
Clock source selection (MSB)
000:
1/2 IOCLK (valid only in clock synchronous mode)
001:
1/8 IOCLK
010:
1/32 IOCLK
011:
1/2 timer 9 underflow (valid only in clock synchronous mode)
100:
1/8 timer 3 underflow
101:
1/8 timer 9 underflow
110:
1/8 external clock (valid only in UART mode)
111:
External clock (valid only in clock synchronous mode)
3
SC0STB
Stop bit selection (valid only in UART mode)
0: 1 bit
1: 2 bits
4
SC0PB0
Parity bit selection (LSB)
5
SC0PB1
Parity bit selection