Mode Register (Smr0/1); Fig. 12.5 Mode Register (Smr0/1) - Fujitsu MB90420/5 (A) Series Hardware Manual

F2mc-16lx family 16-bit microcontrollers
Table of Contents

Advertisement

MB90420/5 (A) SERIES F

12.4.2 Mode Register (SMR0/1)

The mode register (SMR0/1) performs selecting operation mode, selecting baud rate clock, and
disabling/enabling of output of serial data and clock to pin.
n Mode register (SMR0/1)
Address
bit 15 ................. bit 8
CH0: 000034
H
(SCR)
CH1: 000038
H
R/W : Both read and write
: Initial value
φ
: Machine clock
2
MC-16LX FAMILY 16-BIT MICROCONTROLLERS HARDWARE MANUAL
bit 7
bit 6
bit 5
bit 4
MD1
MD0
CS2
CS1
R/W
R/W
R/W
R/W
SOE
Serial-data Output-enable Bit (P37/SOT0 pin, P61/SOT1 pin)
0
Serves as general-purpose I/O port
1
Serves as serial-data output pin of UART0/1
SCKE
Serial Clock Output-enable Bit (P40/SCK0 pin, P62/SCK1 pin)
Serves as general-purpose I/O port or as clock input pin of
0
UART0/1
1
Serves as clock output pin of UART0/1
CS2 to CS0
000
to 101
B
B
110
B
111
B
MD1
MD0
0
0
0
1
1
0
1
1

Fig. 12.5 Mode Register (SMR0/1)

12-12
bit 3
bit 2
bit 1
bit 0
CS0
SCKE SOE
R/W
R/W
R/W
Clock Select Bit
Baud rate by dedicated baud rate generator
Baud rate by internal timer (16-bit reload timer 0)
Baud rate by external clock
Operation Mode Select Bit
Operation Mode
0
Asynchronous (normal mode)
1
Asynchronous (multiprocessor mode)
2
Synchronous (normal mode)
Setting disabled
Initial value
00000-00
B

Advertisement

Table of Contents
loading

Table of Contents