English
Language : 

XC161 Datasheet, PDF (183/419 Pages) Infineon Technologies AG – 16-Bit Single-Chip Microcontroller with C166SV2 Core Volume 2 (of 2): Peripheral Units
XC161 Derivatives
Peripheral Units (Vol. 2 of 2)
Asynchronous/Synchronous Serial Interface (ASC)
Control Register
The operating mode of the serial channel ASC is controlled by its control register CON.
This register contains control bits for mode and error check selection, and status flags
for error identification.
ASCx_CON
Control Register
SFR (Table 18-13)
Reset Value: 0000H
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
R
LB BRS ODD FDE OE FE
PE
OEN
FEN
PEN/
RxDI
REN
STP
M
rw rw rw rw rw rwh rwh rwh rw rw rw rwh rw
rw
Field
R
LB
BRS
ODD
Bits Type Description
15
rw
Baudrate Generator Run Control Bit
0 Baudrate generator disabled (ASC inactive)
1 Baudrate generator enabled
Note: BR_VALUE should only be written if R = 0.
14
rw
Loopback Mode Enabled
0 Loopback Mode disabled. Standard
transmit/receive Mode
1 Loopback Mode enabled
13
rw
Baudrate Selection
0 Baud rate timer prescaler divide-by-2 selected
1 Baud rate timer prescaler divide-by-3 selected
Note: BRS is don’t care if FDE = 1 (fractional divider
selected).
12
rw
Parity Selection
0 Even parity selected (parity bit of 1 is included
in data stream on odd number of 1 and parity
bit of 0 is included in data stream on even
number of 1)
1 Odd parity selected (parity bit of 1 is included
in data stream on even number of 1 and parity
bit of 0 is included in data stream on odd
number of 1)
User’s Manual
ASC_X, V2.0
18-40
V2.2, 2004-01