Mode Register (Smr0-3) - Fujitsu MB91150 Series Hardware Manual

32-bit microcontroller
Table of Contents

Advertisement

CHAPTER 15 UART

15.4.2 Mode register (SMR0-3)

The mode register (SMR0-3) selects the operation mode, selects the baud-rate clock,
and sets serial data and clock output to pin enabled or disabled.
I Mode register (SMR0-3)
The configuration of the mode register (SMR0-3) is shown below.
Address
ch0:0000_001Fh
ch1:0000_0023h
ch2:0000_0027h
ch3:0000_002Bh
R/W: Read/write enabled
SOE
Serial data output-enable bit
0
Sets to general-purpose input-output port
1
Sets to UART serial data output pins
SCKE
Serial clock output-enable bit
0
Sets to general-purpose input-output port or UART clock-input pin
1
Sets to UART clock output pins
CS2 to 0
"000b" to "101b"
"110b"
"111b"
MD1
MD0
0
0
0
1
1
0
1
1
0 , 1 : The underline indicates an initial value.
314
Figure 15.4-3 Mode register (SMR0-3)
bit15 ............ bit8
bit7
(SCR)
MD1
R/W
Clock selection bit
Baud rate based on the dedicated baud-rate generator
Baud rate based on the internal timer (16-bit reload timer)
Sets to UART clock output pins
Operation mode selection bit
Clock selection bit
0
Asynchronous (normal mode)
1
Asynchronous (multiprocessor mode)
Synchronous (normal mode)
2
Setting is prohibited
bit6
bit5
bit4
bit3
MD0
CS2
CS1
CS0
R/W
R/W
R/W
R/W
bit2
bit1
bit0
SCKE
SOE
R/W
R/W
Initial value
00000-00
B

Advertisement

Table of Contents
loading

Table of Contents