Description Of Registers For The General-Purpose Serial Interface; Table 13-2-1 List Of General-Purpose Serial Interface Registers - Panasonic MN103001G/F01K User Manual

Panax series microcomputer
Table of Contents

Advertisement

Serial Interface

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
x'34000800 Serial 0 control register
x'34000804 Serial 0 interrupt mode register
x'34000808 Serial 0 transmission buffer
x'34000809 Serial 0 reception buffer
x'3400080C Serial 0 status register
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
Bit
SC0
SC0
SC0
name
TXE RXE BKE
Reset
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
0
SC0CK0
1
SC0CK1
2
SC0CK2
3
SC0STB
4
SC0PB0
5
SC0PB1
13-6
Name
13
12
11
10
SC0
SC0
SC0
SC0
IIC
MD1 MD0 OD
0
0
0
0
Description
Clock source selection (LSB)
Clock source selection
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)
Stop bit selection (valid only in UART mode)
0: 1 bit
Parity bit selection (LSB)
Parity bit selection
Symbol
Number of bits Initial value Access size
SC0CTR
16
SC0ICR
8
SC0TXB
8
SC0RXB
8
SC0STR
16
9
8
7
6
5
SC0
SC0
SC0
SC0
TOE CLN PB2
PB1
0
0
0
0
0
1: 2 bits
x'0000
8, 16
x'00
8
x'00
8
x'00
8
x'0000
8, 16
4
3
2
1
SC0
SC0
SC0
SC0
SC0
PB0
STB CK2 CK1 CK0
0
0
0
0
0
0

Advertisement

Table of Contents
loading

Table of Contents