Uart Control Register 2 (Ucr2; Uart Control Register 2 - Motorola M-CORE MMC2001 Series Reference Manual

Table of Contents

Advertisement

SNDBRK — Send Break
This bit forces the transmitter to send a break character. The transmitter will finish
sending the character in progress (if any) and then send break characters until this bit
is reset. The user is responsible for ensuring that this bit is high for a sufficient period
of time to generate a valid break; the transmitter samples SNDBRK after every bit is
transmitted.
Following completion of the break transmission, the UART transmits two mark bits.
The user can continue to fill the FIFO, and any characters remaining will be transmit-
ted when the break is terminated. This bit cannot be changed until the UART EN and
TX EN bits in the UART control register 1 (UxCR1) are set.
0 = Do not send break
1 = Send break (continuous zeros)
At reset, this bit is cleared to zero.
DOZE
When the CPU executes a doze instruction and the system is placed in the doze
mode, the DOZE bit affects operation of the UART. If this bit is set when the system is
in the doze mode, the UART is disabled.
0 = UART unaffected while the MCU is in doze mode
1 = UART disabled while the MCU is in doze mode
At reset, this bit is cleared to zero.
UART EN — UART Enable
This bit enables or disables the UART. If this bit is cleared in the middle of a transmis-
sion, the transmitter stops and drives the TXD line to logic one.
0 = UART disabled
1 = UART enabled
At reset, this bit is cleared to zero.
C.9.4 UART Control Register 2 (UCR2)
UART control register 2 is a read/write register. This register controls the overall oper-
ation of the UART. It controls the clock source, number of bits per character, parity
generation and checking, and behavior of the RTS, CTS, and DTR pins.
U0CR2 — UART0 Control Register 2
U1CR2 — UART1 Control Register 2
15
14
13
12
R
0
IRTS
CTSC
CTS
W
RESET:
0
0
0
MOTOROLA
C-40
Freescale Semiconductor, Inc.
11
10
9
8
0
0
0
PREN PROE STPB
0
Figure C-39 UART Control Register 2
PROGRAMMING REFERENCE
For More Information On This Product,
Go to: www.freescale.com
7
6
5
4
WS
0
0
0
0
0
10009082
1000A082
3
2
1
0
0
0
0
0
MMC2001
REFERENCE MANUAL

Advertisement

Table of Contents
loading

Table of Contents