XC886/888CLM
Serial Interfaces
User’s Manual
12-16
V1.3, 2010-02
Serial Interfaces, V 1.0
Figure 12-5
Normal Mode Timing
Baud Rate Generator Registers
Both UART and UART1 module baud rate generators contain the five SFRs, BG, BCON,
FDCON, FDSTEP and FDRES. The functionality of these registers are described in the
following pages.
Register BCON contains the control bits for the baud-rate generator and the prescaling
factor.
BCON
Baud Rate Control Register
Reset Value: 00
H
7
6
5
4
3
2
1
0
BGSEL
0
BRDIS
BRPRE
R
rw
r
rw
rw
rw
Field
Bits
Type Description
R
0
rw
Baud-rate Generator Run Control
0
Baud-rate generator is disabled.
1
Baud-rate generator is enabled.
Note: BR_VALUE should only be written if R = 0.
BRPRE
[3:1]
rw
Prescaler Select
000
f
DIV
=
f
PCLK
001
f
DIV
=
f
PCLK
/2
010
f
DIV
=
f
PCLK
/4
011
f
DIV
=
f
PCLK
/8
100
f
DIV
=
f
PCLK
/16
101
f
DIV
=
f
PCLK
/32
Others: reserved
RESULT
FF
f
DIV
FE
FD
FF
FD
FD
FE
FF
FD
FE
STEP
Reload
FD
Reload
FD
Reload
f
MOD
*