Uart Brg Register (Ubrgr); Uart Brg Register - Motorola Freescale Semiconductor M-Core MMC2001 Reference Manual

Table of Contents

Advertisement

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.
U0BRGR — UART0 BRG Register
U1BRGR — UART1 BRG Register
15
14
13
12
R
0
0
0
0
W
RESET:
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).
MMC2001
UNIVERSAL ASYNCHRONOUS RECEIVER/TRANSMITTER MODULE
REFERENCE MANUAL
All manuals and user guides at all-guides.com
Freescale Semiconductor, Inc.
11
10
9
8
0
0
0
0
Figure 11-6 UART BRG Register
For More Information On This Product,
Go to: www.freescale.com
7
6
5
4
CD
0
0
0
0
10009084
1000A084
3
2
1
0
0
0
0
0
MOTOROLA
11-13

Advertisement

Table of Contents
loading

Table of Contents