
XC161 Derivatives
Peripheral Units (Vol. 2 of 2)
Asynchronous/Synchronous Serial Interface (ASC)
User’s Manual
18-33
V2.2, 2004-01
ASC_X, V2.0
18.5.4
Overwriting Registers on Successful Autobaud Detection
With a successful Autobaud Detection some bits in registers ASCx_CON and ASCx_BG
are automatically set to a value which corresponds to the mode and baudrate of the
detected serial frame conditions (see
). In control register ASCx_CON the
mode control bits M and the parity select bit ODD are overwritten. Register ASCx_BG is
loaded with the 13-bit reload value for the baudrate timer.
Note: The autobaud detection interrupts are described in
.
Table 18-11 Autobaud Detection Overwrite Values for the CON Register
Detected Parameters
M
ODD
BR_VALUE
Operating Mode
7 bit, even parity
7 bit, odd parity
8 bit, even parity
8 bit, odd parity
8 bit, no parity
0 1 1
0 1 1
1 1 1
1 1 1
0 0 1
0
1
0
1
0
–
Baudrate
Br0
Br1
Br2
Br3
Br4
Br5
Br6
Br7
Br8
–
–
2 = 002
H
5 = 005
H
11 = 00B
H
17 = 011
H
35 = 023
H
71 = 047
H
143 = 08F
H
287 = 11F
H
575 = 23F
H