Serial Mode Register (Smr0/Smr1) - Fujitsu MB90460 Series Hardware Manual

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

CHAPTER 17 UART
17.4.2

Serial Mode Register (SMR0/SMR1)

This register selects an operation mode and baud rate clock and specifies whether to
enable output of serial data and clocks to the corresponding pin.
■ Serial Mode Register (SMR0/SMR1)
bit
Address
c h . 0 : 0 0 0 0 2 0
c h . 1 : 0 0 0 0 2 4
R/W : Enables read and write.
: Initial value
478
Figure 17.4-3 Serial Mode Register (SMR0/SMR1)
15
8
7
H
(SCR)
MD1 MD0 CS2
H
R/W R/W R/W
SCKE
6
5
4
3
CS1 CS0
RST
R/W
R/W
SOE
Serial data output enable bit
0
Uses the pin as a general I/O port
Uses the pin as the serial data output pin of UART
1
Serial clock output enable bit
0
Uses the pin as a general I/O port or clock input pin of UART
1
Uses the pin as the clock output pin of UART
RST
UART reset bit
0
No effect
1
resets UART
CS2~CS0
Clock selection bit
"000
"~"100
"
Baud rate by dedicated baud rate generator
B
B
Disables setting.
"101
"
B
Baud rate by internal timer
"110
"
B
(16-bit reload timer 0)
"111
"
Baud rate by external clock
B
Operation mode selection bit
MD1 MD0
0
0
0
Asynchronous (normal mode)
0
1
1
Asynchronous (multiprocessor mode)
Synchronous (normal mode)
1
0
2
Disables setting.
1
1
-
2
1
0
Initial value
0 0 0 0 0 0 0 0
SCKE SOE
R/W R/W R/W
Operation mode
B

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90465 series

Table of Contents