![Texas Instruments SimpleLink Ethernet MSP432E401Y Скачать руководство пользователя страница 1633](http://html1.mh-extra.com/html/texas-instruments/simplelink-ethernet-msp432e401y/simplelink-ethernet-msp432e401y_technical-reference-manual_10955781633.webp)
UART Registers
1633
SLAU723A – October 2017 – Revised October 2018
Copyright © 2017–2018, Texas Instruments Incorporated
Universal Asynchronous Receiver/Transmitter (UART)
26.5.1 UARTDR Register (Offset = 0x0) [reset = 0x0]
UART Data (UARTDR)
NOTE:
This register is read-sensitive.
This register is the data register (the interface to the FIFOs).
For transmitted data, if the FIFO is enabled, data written to this location is pushed onto the transmit FIFO.
If the FIFO is disabled, data is stored in the transmitter holding register (the bottom word of the transmit
FIFO). A write to this register initiates a transmission from the UART.
For received data, if the FIFO is enabled, the data byte and the 4-bit status (break, frame, parity, and
overrun) is pushed onto the 12-bit wide receive FIFO. If the FIFO is disabled, the data byte and status are
stored in the receiving holding register (the bottom word of the receive FIFO). The received data can be
retrieved by reading this register.
UARTDR is shown in
and described in
Return to
Figure 26-4. UARTDR Register
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
RESERVED
R-0x0
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
RESERVED
OE
BE
PE
FE
DATA
R-0x0
R-0x0
R-0x0
R-0x0
R-0x0
R/W-0x0
Table 26-4. UARTDR Register Field Descriptions
Bit
Field
Type
Reset
Description
31-12
RESERVED
R
0x0
11
OE
R
0x0
UART Overrun Error.
0x0 = No data has been lost due to a FIFO overrun.
0x1 = New data was received when the FIFO was full, resulting in
data loss.
10
BE
R
0x0
UART Break Error.
In FIFO mode, this error is associated with the character at the top of
the FIFO.
When a break occurs, only one 0 character is loaded into the FIFO.
The next character is only enabled after the received data input goes
to a 1 (marking state), and the next valid start bit is received.
0x0 = No break condition has occurred
0x1 = A break condition has been detected, indicating that the
receive data input was held Low for longer than a full-word
transmission time (defined as start, data, parity, and stop bits).
9
PE
R
0x0
UART Parity Error.
In FIFO mode, this error is associated with the character at the top of
the FIFO.
0x0 = No parity error has occurred
0x1 = The parity of the received data character does not match the
parity defined by bits 2 and 7 of the UARTLCRH register.
8
FE
R
0x0
UART Framing Error.
0x0 = No framing error has occurred
0x1 = The received character does not have a valid stop bit (a valid
stop bit is 1).
7-0
DATA
R/W
0x0
Data Transmitted or Received.
Data that is to be transmitted via the UART is written to this field.
When read, this field contains the data that was received by the
UART.