Configuration And Functions Of Uart Registers - Fujitsu MB90480 Series Hardware Manual

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

19.3 Configuration and Functions of UART Registers

This section describes the configuration and functions of the registers used by the
UART.
List of UART registers
Figure 19.3-1 lists the UART registers.
15
7
000020
MD1 MD0 CS2 CS1
H
(R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) Read/write
(0)
15
000021
PEN
H
(R/W) (R/W) (R/W) (R/W) (R/W) (W) (R/W) (R/W) Read/write
(0)
7
000022
D7
H
(R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) Read/write
(X)
15
000023
PE
H
(R)
(0)
15
000025
MD SRST
H
(R/W) (R/W)
(0)
Note:
When setting a UART register, set the communication mode while the UART is not in operation.
When the communication mode is changed while operation is in progress, the sent/received data
cannot be assured.
Figure 19.3-1 List of UART registers
8 7
SCR
SSR
CDCR
8 bits
6
5
4
3
CS0
(0)
(0)
(0)
(0)
14
13
12
11
P
SBL
CL
A/D
(0)
(0)
(0)
(0)
6
5
4
3
D6
D5
D4
D3
(X)
(X)
(X)
(X)
14
13
12
11
ORE FRE RDRF TDRE BDS
(R)
(R)
(R)
(R) (R/W) (R/W) (R/W) Read/write
(0)
(0)
(0)
(1)
14
13
12
11
-
-
DIV3 DIV2 DIV1 DIV0
(-)
(-)
(R/W) (R/W) (R/W) (R/W) Read/write
(0)
(-)
(-)
(0)
SMR
SIDR(R)/SODR(W)
-
8 bits
2
1
0
SCKE SOE
Serial mode register (SMR)
Reserved
(X)
(0)
(0)
Initial value
10
9
8
REC RXE TXE
Serial control register (SCR)
(1)
(0)
(0)
Initial value
2
1
0
Serial input register (SIDR)/
D2
D1
D0
serial output register (SODR)
(X)
(X)
(X)
Initial value
10
9
8
RIE
TIE
Serial status register (SSR)
(0)
(0)
(0)
Initial value
10
9
8
Communication prescaler
control register (CDCR)
(0)
(0)
(0)
Initial value
CHAPTER 19 UART
0
(R/W)
(R/W)
(R/W)
411

Advertisement

Table of Contents
loading

Table of Contents