224
CHAPTER 13 SERIAL INTERFACE (UART0)
Preliminary User’s Manual U16035EJ1V0UM
(c) Baud rate generator control register 0 (BRGC0)
BRGC0 is set by an 8-bit memory manipulation instruction.
RESET input sets BRGC0 to 00H.
Address: FFA2H After reset: 00H R/W
Symbol
7
6
5
4
3
2
1
0
BRGC0
0
TPS02
TPS01
TPS00
MDL03
MDL02
MDL01
MDL00
(f
X
= 8.38 MHz)
TPS02
TPS01
TPS00
Source clock selection for 5-bit counter
n
0
0
0
P25/ASCK0
0
0
0
1
f
X
/2
1
0
1
0
f
X
/2
2
2
0
1
1
f
X
/2
3
3
1
0
0
f
X
/2
4
4
1
0
1
f
X
/2
5
5
1
1
0
f
X
/2
6
6
1
1
1
f
X
/2
7
7
MDL03
MDL02
MDL01
MDL00
Input clock selection for baud rate generator
k
0
0
0
0
f
SCK
/16
0
0
0
0
1
f
SCK
/17
1
0
0
1
0
f
SCK
/18
2
0
0
1
1
f
SCK
/19
3
0
1
0
0
f
SCK
/20
4
0
1
0
1
f
SCK
/21
5
0
1
1
0
f
SCK
/22
6
0
1
1
1
f
SCK
/23
7
1
0
0
0
f
SCK
/24
8
1
0
0
1
f
SCK
/25
9
1
0
1
0
f
SCK
/26
10
1
0
1
1
f
SCK
/27
11
1
1
0
0
f
SCK
/28
12
1
1
0
1
f
SCK
/29
13
1
1
1
0
f
SCK
/30
14
1
1
1
1
Setting prohibited
—
Cautions 1. Writing to BRGC0 during a communication operation may cause abnormal output from
the baud rate generator and disable further communication operations. Therefore, do
not write to BRGC0 during a communication operation.
2. Set 10H to BRGC0 when using infrared data transfer mode.
Remarks 1.
f
SCK
: Source clock for 5-bit counter
2.
n:
Value set via TPS00 to TPS02 (0
≤
n
≤
7)
3.
k:
Value set via MDL00 to MDL03 (0
≤
k
≤
14)