(b) Baud rate generator control register 0 (BRGC0)
The BRGC0 register is an 8-bit register that controls the baud rate (serial transfer speed) of UART0.
This register can be read/written in 8-bit units.
Caution If the MDL7 to MDL0 bits are to be overwritten, the TXE0 bit and RXE0 bit of the ASIM0
register should be set to 0 first.
7
6
BRGC0
MDL7
MDL6
Bit position
Bit name
7 to 0
MDL7 to
MDL0
Remarks 1. f
: Frequency [Hz] of base clock selected according to TPS3 to TPS0 bits of CKSR0 register
CLK
2. k: Value set according to MDL7 to MDL0 bits (k = 8, 9, 10, ..., 255)
3. The baud rate is the output clock for the 8-bit counter divided by 2
4. x: don't care
436
CHAPTER 10 SERIAL INTERFACE FUNCTION
5
4
3
MDL5
MDL4
MDL3
Specifies the 8-bit counter's division value.
MDL7 MDL6 MDL5 MDL4 MDL3 MDL2 MDL1 MDL0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
User's Manual U14492EJ5V0UD
2
1
0
MDL2
MDL1
MDL0
Function
Set value
0
0
x
x
x
–
0
1
0
0
0
8
0
1
0
0
1
9
0
1
0
1
0
10
1
1
0
1
0
250
1
1
0
1
1
251
1
1
1
0
0
252
1
1
1
0
1
253
1
1
1
1
0
254
1
1
1
1
1
255
Address
Initial value
FFFFFA07H
FFH
Serial clock
(k)
Setting
prohibited
f
/8
CLK
f
/9
CLK
f
/10
CLK
f
/250
CLK
f
/251
CLK
f
/252
CLK
f
/253
CLK
f
/254
CLK
f
/255
CLK