MMC2001
UNIVERSAL ASYNCHRONOUS RECEIVER/TRANSMITTER MODULE
MOTOROLA
REFERENCE MANUAL
11-13
PROE — Parity Odd/Even
This bit controls the sense of the parity generator and checker. When PROE is set,
odd parity is generated and expected. When PROE is cleared, even parity is gener-
ated and expected. This bit has no function if PREN is low.
0 =
Even parity
1 =
Odd parity
At reset, this bit is cleared to zero.
STPB — Stop Bits
This bit controls the number of stop bits transmitted after a character. When STPB is
set, two stop bits are sent. When STPB is cleared, one stop bit is sent. This bit has no
effect on the receiver, which expects one or more stop bits.
0 =
One stop bit transmitted
1 =
Two stop bits transmitted
At reset, this bit is cleared to zero.
WS — Word Size
This bit specifies a character length of eight or seven bits (not including start, stop, or
parity bits). When WS is set, the transmitter and receiver are in eight-bit mode. When
WS is cleared, they are in seven-bit mode. The transmitter then ignores B7, and the
receiver sets B7 to zero. This bit can be changed between transmissions or recep-
tions. If it is changed while a transmission or reception is in progress, however, the
length of the current character being transmitted or received is unpredictable.
0 =
7-bit transmit and receive character length
1 =
8-bit transmit and receive character length
At reset, this bit is cleared to zero.
11.4.5 UART BRG Register (UBRGR)
This register specifies the divide ratio of the prescaler in the UART bit clock genera-
tor.
Figure 11-6 UART BRG Register
CD — Clock Divider
These bits determine the bit clock generator output rate. The CD field is used to pre-
set a 12-bit counter that is decremented at the system clock rate. The value 0x000
produces the maximum clock rate (equal to the system clock). The value 0xFFF
pro-
duces the minimum clock rate (divide by 4096).
U0BRGR — UART0 BRG Register
10009084
U1BRGR — UART1 BRG Register
1000A084
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
R
0
0
0
0
CD
W
RESET:
0
0
0
0
0
0
0
0
0
0
0
0
Freescale Semiconductor,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc.
..