SWRU543B January 2019 – June 2025 CC3230S , CC3230SF , CC3235MODS , CC3235MODSF , CC3235S , CC3235SF
Table 6-2 lists the memory-mapped registers for the UART. All register offset addresses not listed in Table 6-2 should be considered as reserved locations and the register contents should not be modified.
The offset listed is a hexadecimal increment to the register’s address, relative to that UART’s base address:
The UART module clock must be enabled before the registers can be programmed. There must be a delay of 3 system clocks after the UART module clock is enabled before any UART module registers are accessed.
The UART must be disabled (see the UARTEN bit in the UARTCTL register) before any of the control registers are reprogrammed. When the UART is disabled during a TX or RX operation, the current transaction is completed prior to the UART stopping.
| Offset | Acronym | Register Name | Section |
|---|---|---|---|
| 0h | UARTDR | UART Data | Section 6.3.1 |
| 4h | UARTRSR_UARTECR | UART Receive Status/Error Clear | Section 6.3.2 |
| 18h | UARTFR | UART Flag | Section 6.3.3 |
| 24h | UARTIBRD | UART Integer Baud-Rate Divisor | Section 6.3.4 |
| 28h | UARTFBRD | UART Fractional Baud-Rate Divisor | Section 6.3.5 |
| 2Ch | UARTLCRH | UART Line Control | Section 6.3.6 |
| 30h | UARTCTL | UART Control | Section 6.3.7 |
| 34h | UARTIFLS | UART Interrupt FIFO Level Select | Section 6.3.8 |
| 38h | UARTIM | UART Interrupt Mask | Section 6.3.9 |
| 3Ch | UARTRIS | UART Raw Interrupt Status | Section 6.3.10 |
| 40h | UARTMIS | UART Masked Interrupt Status | Section 6.3.11 |
| 44h | UARTICR | UART Interrupt Clear | Section 6.3.12 |
| 48h | UARTDMACTL | UART DMA Control | Section 6.3.13 |
UARTDR is shown in Figure 6-3 and described in Table 6-3.
Return to Summary Table.
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.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| RESERVED | |||||||||||||||
| R-0h | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RESERVED | OE | BE | PE | FE | DATA | ||||||||||
| R-0h | R-0h | R-0h | R-0h | R-0h | R/W-0h | ||||||||||
| LEGEND: R/W = Read/Write; R = Read only; W1toCl = Write 1 to clear bit; -n = value after reset |
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-12 | RESERVED | R | 0h | |
| 11 | OE | R | 0h | UART Overrun Error 0h = No data has been lost due to a FIFO overrun. 1h = New data was received when the FIFO was full, resulting in data loss. |
| 10 | BE | R | 0h | UART Break Error 0h = No break condition has occurred 1h = 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). 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. |
| 9 | PE | R | 0h | UART Parity Error 0h = No parity error has occurred 1h = The parity of the received data character does not match the parity defined by bits 2 and 7 of the UARTLCRH register. In FIFO mode, this error is associated with the character at the top of the FIFO. |
| 8 | FE | R | 0h | UART Framing Error 0h = No framing error has occurred 1h = The received character does not have a valid stop bit (a valid stop bit is 1). |
| 7-0 | DATA | R/W | 0h | Data Transmitted or Received Data that is to be transmitted through the UART is written to this field. When read, this field contains the data that was received by the UART. |
UARTRSR_UARTECR is shown in Figure 6-4 and described in Table 6-4.
Return to Summary Table.
The UARTRSR/UARTECR register is the receive status register/error clear register.
In addition to the UARTDR register, receive status can also be read from the UARTRSR register. If the status is read from this register, then the status information corresponds to the entry read from UARTDR prior to reading UARTRSR. The status information for overrun is set immediately when an overrun condition occurs.
The UARTRSR register cannot be written.
A write of any value to the UARTECR register clears the framing, parity, break, and overrun errors. All the bits are cleared on reset.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
| RESERVED | |||||||
| R-0h | |||||||
| 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| RESERVED | |||||||
| R-0h | |||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| RESERVED | |||||||
| R-0h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RESERVED | OE_OR_DATA | BE_OR_DATA | PE_OR_DATA | FE_OR_DATA | |||
| R-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | |||
| LEGEND: R/W = Read/Write; R = Read only; W1toCl = Write 1 to clear bit; -n = value after reset |
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 7-4 | DATA | W | 0h | Error Clear A write to this register of any data clears the framing, parity, break, and overrun flags. |
| 31-4 | RESERVED | R | 0h | |
| 3 | OE_OR_DATA | R/W | 0h | UART Overrun Error (R) or Error Clear (W) This bit is cleared by a write to UARTECR. The FIFO contents remain valid because no further data is written when the FIFO is full, only the contents of the shift register are overwritten. The CPU must read the data to empty the FIFO. 0h (R) = No data has been lost due to a FIFO overrun. 1h (R) = New data was received when the FIFO was full, resulting in data loss. |
| 2 | BE_OR_DATA | R/W | 0h | UART Break Error (R) or Error Clear (W) This bit is cleared to 0 by a write to UARTECR. 0h (R) = No break condition has occurred 1h (R) = 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). 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 receive data input goes to a 1 (marking state) and the next valid start bit is received. |
| 1 | PE_OR_DATA | R/W | 0h | UART Parity Error (R) or Error Clear (W) This bit is cleared to 0 by a write to UARTECR. 0h (R) = No parity error has occurred 1h (R) = The parity of the received data character does not match the parity defined by bits 2 and 7 of the UARTLCRH register. |
| 0 | FE_OR_DATA | R/W | 0h | UART Framing Error (R) or Error Clear (W) This bit is cleared to 0 by a write to UARTECR. 0h (R) = No framing error has occurred 1h (R) = The received character does not have a valid stop bit (a valid stop bit is 1). In FIFO mode, this error is associated with the character at the top of the FIFO. |
UARTFR is shown in Figure 6-5 and described in Table 6-5.
Return to Summary Table.
The UARTFR register is the flag register. After reset, the TXFF, RXFF, and BUSY bits are 0, and TXFE and RXFE bits are 1. The RI and CTS bits indicate the modem flow control and status. The modem bits are only implemented on UART1 and are reserved on UART0.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
| RESERVED | |||||||
| R-0h | |||||||
| 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| RESERVED | |||||||
| R-0h | |||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| RESERVED | RI | ||||||
| R-0h | R-0h | ||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| TXFE | RXFF | TXFF | EXFE | BUSY | DCD | DSR | CTS |
| R-1h | R-0h | R-0h | R-1h | R-0h | R-0h | R-0h | R-0h |
| LEGEND: R/W = Read/Write; R = Read only; W1toCl = Write 1 to clear bit; -n = value after reset |
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-9 | RESERVED | R | 0h | |
| 8 | RI | R | 0h | Reserved |
| 7 | TXFE | R | 1h | UART Transmit FIFO Empty The meaning of this bit depends on the state of the FEN bit in the UARTLCRH register. If the FIFO is enabled (FEN is 1), the transmit FIFO is empty. 0h = The transmitter has data to transmit. 1h = If the FIFO is disabled (FEN is 0), the transmit holding register is empty. |
| 6 | RXFF | R | 0h | UART Receive FIFO Full The meaning of this bit depends on the state of the FEN bit in the UARTLCRH register. If the FIFO is enabled (FEN is 1), the receive FIFO is full. 0h = The receiver can receive data. 1h = If the FIFO is disabled (FEN is 0), the receive holding register is full. |
| 5 | TXFF | R | 0h | UART Transmit FIFO Full The meaning of this bit depends on the state of the FEN bit in the UARTLCRH register. 0h = The transmitter is not full. 1h = If the FIFO is disabled (FEN is 0), the transmit holding register is full. If the FIFO is enabled (FEN is 1), the transmit FIFO is full. |
| 4 | EXFE | R | 1h | UART Receive FIFO Empty The meaning of this bit depends on the state of the FEN bit in the UARTLCRH register. If the FIFO is enabled (FEN is 1), the receive FIFO is empty. 0h = The receiver is not empty. 1h = If the FIFO is disabled (FEN is 0), the receive holding register is empty. |
| 3 | BUSY | R | 0h | UART Busy This bit is set when the transmit FIFO becomes non-empty (regardless of whether UART is enabled). 0h = The UART is not busy. 1h = The UART is busy transmitting data. This bit remains set until the complete byte, including all stop bits, has been sent from the shift register. |
| 2 | DCD | R | 0h | Reserved |
| 1 | DSR | R | 0h | Reserved |
| 0 | CTS | R | 0h | Clear To Send This bit is implemented only on UART1 and is reserved for UART0 0h = The U1CTS signal is not asserted. 1h = The U1CTS signal is asserted. |
UARTIBRD is shown in Figure 6-6 and described in Table 6-6.
Return to Summary Table.
The UARTIBRD register is the integer part of the baud-rate divisor value. All the bits are cleared on reset. The minimum possible divide ratio is 1 (when UARTIBRD=0), in which case the UARTFBRD register is ignored. When changing the UARTIBRD register, the new value does not take effect until transmission or reception of the current character is complete. Any changes to the baud-rate divisor must be followed by a write to the UARTLCRH register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RESERVED | DIVINT | ||||||||||||||||||||||||||||||
| R-0h | R/W-0h | ||||||||||||||||||||||||||||||
| LEGEND: R/W = Read/Write; R = Read only; W1toCl = Write 1 to clear bit; -n = value after reset |
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-16 | RESERVED | R | 0h | |
| 15-0 | DIVINT | R/W | 0h | Integer Baud-Rate Divisor |
UARTFBRD is shown in Figure 6-7 and described in Table 6-7.
Return to Summary Table.
The UARTFBRD register is the fractional part of the baud-rate divisor value. All the bits are cleared on reset. When changing the UARTFBRD register, the new value does not take effect until transmission or reception of the current character is complete. Any changes to the baud-rate divisor must be followed by a write to the UARTLCRH register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| RESERVED | |||||||||||||||
| R-0h | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RESERVED | DIVFRAC | ||||||||||||||
| R-0h | R/W-0h | ||||||||||||||
| LEGEND: R/W = Read/Write; R = Read only; W1toCl = Write 1 to clear bit; -n = value after reset |
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-6 | RESERVED | R | 0h | |
| 5-0 | DIVFRAC | R/W | 0h | Fractional Baud-Rate Divisor |
UARTLCRH is shown in Figure 6-8 and described in Table 6-8.
Return to Summary Table.
The UARTLCRH register is the line control register. Serial parameters such as data length, parity, and stop bit selection are implemented in this register.
When updating the baud-rate divisor (UARTIBRD or UARTIFRD), the UARTLCRH register must also be written. The write strobe for the baud-rate divisor registers is tied to the UARTLCRH register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
| RESERVED | |||||||
| R-0h | |||||||
| 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| RESERVED | |||||||
| R-0h | |||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| RESERVED | |||||||
| R-0h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| SPS | WLEN | FEN | STP2 | EPS | PEN | BRK | |
| R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | |
| LEGEND: R/W = Read/Write; R = Read only; W1toCl = Write 1 to clear bit; -n = value after reset |
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-8 | RESERVED | R | 0h | |
| 7 | SPS | R/W | 0h | UART Stick Parity Select When bits 1, 2, and 7 of UARTLCRH are set, the parity bit is transmitted and checked as a 0. When bits 1 and 7 are set and 2 is cleared, the parity bit is transmitted and checked as a 1. When this bit is cleared, stick parity is disabled. |
| 6-5 | WLEN | R/W | 0h | UART Word Length The bits indicate the number of data bits transmitted or received in a frame as follows: 0h = 5 bits (default) 1h = 6 bits 2h = 7 bits 3h = 8 bits |
| 4 | FEN | R/W | 0h | UART Enable FIFOs 0h = The FIFOs are disabled (Character mode). The FIFOs become 1-byte-deep holding registers. 1h = The transmit and receive FIFO buffers are enabled (FIFO mode). |
| 3 | STP2 | R/W | 0h | UART Two Stop Bits Select When in 7816 smartcard mode (the SMART bit is set in the UARTCTL register), the number of stop bits is forced to 2. 0h = One stop bit is transmitted at the end of a frame. 1h = Two stop bits are transmitted at the end of a frame. The receive logic does not check for two stop bits being received. |
| 2 | EPS | R/W | 0h | UART Even Parity Select This bit has no effect when parity is disabled by the PEN bit. 0h = Odd parity is performed, which checks for an odd number of 1s. 1h = Even parity generation and checking is performed during transmission and reception, which checks for an even number of 1s in data and parity bits. |
| 1 | PEN | R/W | 0h | UART Parity Enable 0h = Parity is disabled and no parity bit is added to the data frame. 1h = Parity checking and generation is enabled. |
| 0 | BRK | R/W | 0h | UART Send Break A low level is continually output on the UnTx signal, after completing transmission of the current character. For the proper execution of the break command, software must set this bit for at least two frames (character periods). |
UARTCTL is shown in Figure 6-9 and described in Table 6-9.
Return to Summary Table.
The UARTCTL register is the control register. All the bits are cleared on reset except for the Transmit Enable (TXE) and Receive Enable (RXE) bits, which are set.
To enable the UART module, the UARTEN bit must be set. If software requires a configuration change in the module, the UARTEN bit must be cleared before the configuration changes are written. If the UART is disabled during a transmit or receive operation, the current transaction is completed prior to the UART stopping.
The UARTCTL register should not be changed while the UART is enabled or else the results are unpredictable. The following sequence is recommended for making changes to the UARTCTL register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
| RESERVED | |||||||
| R-0h | |||||||
| 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| RESERVED | |||||||
| R-0h | |||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| CTSEN | RTSEN | RESERVED | RTS | DTR | RXE | TXE | |
| R/W-0h | R/W-0h | R-0h | R/W-0h | R/W-0h | R/W-1h | R/W-1h | |
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| LBE | RESERVED | HSE | EOT | RESERVED | RESERVED | SIREN | UARTEN |
| R/W-0h | R-0h | R/W-0h | R/W-0h | R-0h | R-0h | R/W-0h | R/W-0h |
| LEGEND: R/W = Read/Write; R = Read only; W1toCl = Write 1 to clear bit; -n = value after reset |
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-16 | RESERVED | R | 0h | |
| 15 | CTSEN | R/W | 0h | Enable Clear To Send 0h = CTS hardware flow control is disabled. 1h = CTS hardware flow control is enabled. Data is only transmitted when the U1CTS signal is asserted. |
| 14 | RTSEN | R/W | 0h | Enable Request to Send 0h = RTS hardware flow control is disabled. 1h = RTS hardware flow control is enabled. Data is only requested (by asserting U1RTS) when the receive FIFO has available entries. |
| 13-12 | RESERVED | R | 0h | |
| 11 | RTS | R/W | 0h | Request to Send When RTSEN is clear, the status of this bit is reflected on the U1RTS signal. If RTSEN is set, this bit is ignored on a write and should be ignored on read. |
| 10 | DTR | R/W | 0h | Reserved |
| 9 | RXE | R/W | 1h | UART Receive Enable 0h = The receive section of the UART is disabled. 1h = The receive section of the UART is enabled. If the UART is disabled in the middle of a receive, it completes the current character before stopping. Note: To enable reception, the UARTEN bit must also be set. |
| 8 | TXE | R/W | 1h | UART Transmit Enable If the UART is disabled in the middle of a transmission, it completes the current character before stopping. 0h = The transmit section of the UART is disabled. 1h = The transmit section of the UART is enabled. Note: To enable transmission, the UARTEN bit must also be set. |
| 7 | LBE | R/W | 0h | UART Loop Back Enable 0h = Normal operation. 1h = The UnTx path is fed through the UnRx path. |
| 6 | RESERVED | R | 0h | |
| 5 | HSE | R/W | 0h | High-Speed Enable 0h = The UART is clocked using the system clock divided by 16. 1h = The UART is clocked using the system clock divided by 8. Note: System clock used is also dependent on the baud-rate divisor configuration. The state of this bit has no effect on clock generation in ISO 7816 smart card mode (the SMART bit is set). |
| 4 | EOT | R/W | 0h | End of Transmission This bit determines the behavior of the TXRIS bit in the UARTRIS register. 0h = The TXRIS bit is set when the transmit FIFO condition specified in UARTIFLS is met. 1h = The TXRIS bit is set only after all transmitted data, including stop bits, have cleared the serializer. |
| 3 | RESERVED | R | 0h | |
| 2 | RESERVED | R | 0h | |
| 1 | SIREN | R/W | 0h | RESERVED |
| 0 | UARTEN | R/W | 0h | UART Enable If the UART is disabled in the middle of transmission or reception, it completes the current character before stopping. 0h = The UART is disabled. 1h = The UART is enabled. |
UARTIFLS is shown in Figure 6-10 and described in Table 6-10.
Return to Summary Table.
The UARTIFLS register is the interrupt FIFO level select register. You can use this register to define the FIFO level at which the TXRIS and RXRIS bits in the UARTRIS register are triggered.
The interrupts are generated based on a transition through a level rather than being based on the level. That is, the interrupts are generated when the fill level progresses through the trigger level. For example, if the receive trigger level is set to the half-way mark, the interrupt is triggered as the module is receiving the 9th character.
Out of reset, the TXIFLSEL and RXIFLSEL bits are configured so that the FIFOs trigger an interrupt at the half-way mark.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| RESERVED | |||||||||||||||
| R-0h | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RESERVED | RXIFLSEL | TXIFSEL | |||||||||||||
| R-0h | R/W-2h | R/W-2h | |||||||||||||
| LEGEND: R/W = Read/Write; R = Read only; W1toCl = Write 1 to clear bit; -n = value after reset |
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-6 | RESERVED | R | 0h | |
| 5-3 | RXIFLSEL | R/W | 2h | UART Receive Interrupt FIFO Level Select The trigger points for the receive interrupt are as follows: 0h = Reserved 1h = RX FIFO full 2h = RX FIFO full (default) 3h = RX FIFO full 4h = RX FIFO full |
| 2-0 | TXIFSEL | R/W | 2h | UART Transmit Interrupt FIFO Level Select The trigger points for the transmit interrupt are as follows: 0h = Reserved 1h = TX FIFO empty 2h = TX FIFO empty (default) 3h = TX FIFO empty 4h = TX FIFO empty Note: If the EOT bit in UARTCTL is set, the transmit interrupt is generated once the FIFO is completely empty and all data including stop bits have left the transmit serializer. In this case, the setting of TXIFLSEL is ignored. |
UARTIM is shown in Figure 6-11 and described in Table 6-11.
Return to Summary Table.
The UARTIM register is the interrupt mask set/clear register.
On a read, this register gives the current value of the mask on the relevant interrupt. Setting a bit allows the corresponding raw interrupt signal to be routed to the interrupt controller. Clearing a bit prevents the raw interrupt signal from being sent to the interrupt controller.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
| RESERVED | |||||||
| R-0h | |||||||
| 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| RESERVED | DMATXIM | DMARXIM | |||||
| R-0h | R/W-0h | R/W-0h | |||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| RESERVED | 9BITIM | RESERVED | OEIM | BEIM | PEIM | ||
| R-0h | R/W-0h | R-0h | R/W-0h | R/W-0h | R/W-0h | ||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| FEIM | RTIM | TXIM | RXIM | DSRIM | DCDIM | CTSIM | RIIM |
| R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h |
| LEGEND: R/W = Read/Write; R = Read only; W1toCl = Write 1 to clear bit; -n = value after reset |
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-18 | RESERVED | R | 0h | |
| 17 | DMATXIM | R/W | 0h | Transmit DMA Interrupt Mask 0h = The DMATXRIS interrupt is suppressed and not sent to the interrupt controller. 1h = An interrupt is sent to the interrupt controller when the DMATXRIS bit in the UARTRIS register is set. |
| 16 | DMARXIM | R/W | 0h | Receive DMA Interrupt Mask 0h = The DMARXRIS interrupt is suppressed and not sent to the interrupt controller. 1h = An interrupt is sent to the interrupt controller when the DMARXRIS bit in the UARTRIS register is set. |
| 15-13 | RESERVED | R | 0h | |
| 12 | 9BITIM | R/W | 0h | Reserved |
| 11 | RESERVED | R | 0h | |
| 10 | OEIM | R/W | 0h | UART Overrun Error Interrupt Mask 0h = The OERIS interrupt is suppressed and not sent to the interrupt controller. 1h = An interrupt is sent to the interrupt controller when the OERIS bit in the UARTRIS register is set. |
| 9 | BEIM | R/W | 0h | UART Break Error Interrupt Mask 0h = The BERIS interrupt is suppressed and not sent to the interrupt controller. 1h = An interrupt is sent to the interrupt controller when the BERIS bit in the UARTRIS register is set. |
| 8 | PEIM | R/W | 0h | UART Parity Error Interrupt Mask 0h = The PERIS interrupt is suppressed and not sent to the interrupt controller. 1h = An interrupt is sent to the interrupt controller when the PERIS bit in the UARTRIS register is set. |
| 7 | FEIM | R/W | 0h | UART Framing Error Interrupt Mask 0h = The FERIS interrupt is suppressed and not sent to the interrupt controller. 1h = An interrupt is sent to the interrupt controller when the FERIS bit in the UARTRIS register is set. |
| 6 | RTIM | R/W | 0h | UART Receive Time-Out Interrupt Mask 0h = The RTRIS interrupt is suppressed and not sent to the interrupt controller. 1h = An interrupt is sent to the interrupt controller when the RTRIS bit in the UARTRIS register is set. |
| 5 | TXIM | R/W | 0h | UART Transmit Interrupt Mask 0h = The TXRIS interrupt is suppressed and not sent to the interrupt controller. 1h = An interrupt is sent to the interrupt controller when the TXRIS bit in the UARTRIS register is set. |
| 4 | RXIM | R/W | 0h | UART Receive Interrupt Mask 0h = The RXRIS interrupt is suppressed and not sent to the interrupt controller. 1h = An interrupt is sent to the interrupt controller when the RXRIS bit in the UARTRIS register is set. |
| 3 | DSRIM | R/W | 0h | Reserved |
| 2 | DCDIM | R/W | 0h | Reserved |
| 1 | CTSIM | R/W | 0h | UART Clear to Send Modem Interrupt Mask 0h = The CTSRIS interrupt is suppressed and not sent to the interrupt controller. 1h = An interrupt is sent to the interrupt controller when the CTSRIS bit in the UARTRIS register is set. |
| 0 | RIIM | R/W | 0h | Reserved |
UARTRIS is shown in Figure 6-12 and described in Table 6-12.
Return to Summary Table.
The UARTRIS register is the raw interrupt status register. On a read, this register gives the current raw status value of the corresponding interrupt. A write has no effect.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
| RESERVED | |||||||
| R-0h | |||||||
| 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| RESERVED | DMATXRIS | DMARXRIS | |||||
| R-0h | R-0h | R-0h | |||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| RESERVED | RESERVED | OERIS | BERIS | PERIS | |||
| R-0h | R-0h | R-0h | R-0h | R-0h | |||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| FERIS | RTRIS | TXRIS | RXRIS | DSRRIS | DCDRIS | CTSRIS | RIRIS |
| R-0h | R-0h | R-0h | R-0h | R-0h | R-0h | R-0h | R-0h |
| LEGEND: R/W = Read/Write; R = Read only; W1toCl = Write 1 to clear bit; -n = value after reset |
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-18 | RESERVED | R | 0h | |
| 17 | DMATXRIS | R | 0h | Transmit DMA Raw Interrupt Status This bit is cleared by writing a 1 to the DMATXIC bit in the UARTICR register. 0h = No interrupt 1h = The transmit DMA has completed. |
| 16 | DMARXRIS | R | 0h | Receive DMA Raw Interrupt Status This bit is cleared by writing a 1 to the DMARXIC bit in the UARTICR register. 0h = No interrupt 1h = The receive DMA has completed. |
| 15-11 | RESERVED | R | 0h | |
| 10 | OERIS | R | 0h | UART Overrun Error Raw Interrupt Status This bit is cleared by writing a 1 to the OEIC bit in the UARTICR register. 0h = No interrupt 1h = An overrun error has occurred. |
| 9 | BERIS | R | 0h | UART Break Error Raw Interrupt Status This bit is cleared by writing a 1 to the BEIC bit in the UARTICR register. 0h = No interrupt 1h = A break error has occurred. |
| 8 | PERIS | R | 0h | UART Parity Error Raw Interrupt Status This bit is cleared by writing a 1 to the PEIC bit in the UARTICR register. 0h = No interrupt 1h = A parity error has occurred. |
| 7 | FERIS | R | 0h | UART Framing Error Raw Interrupt Status This bit is cleared by writing a 1 to the FEIC bit in the UARTICR register. 0h = No interrupt 1h = A framing error has occurred. |
| 6 | RTRIS | R | 0h | UART Receive Time-Out Raw Interrupt Status This bit is cleared by writing a 1 to the RTIC bit in the UARTICR register. 0h = No interrupt 1h = A receive time out has occurred. |
| 5 | TXRIS | R | 0h | UART Transmit Raw Interrupt Status If the EOT bit is set, the last bit of all transmitted data and flags has left the serializer. This bit is cleared by writing a 1 to the TXIC bit in the UARTICR register or by writing data to the transmit FIFO until it becomes greater than the trigger level, if the FIFO is enabled, or by writing a single byte if the FIFO is disabled. 0h = No interrupt 1h = If the EOT bit in the UARTCTL register is clear, the transmit FIFO level has passed through the condition defined in the UARTIFLS register. |
| 4 | RXRIS | R | 0h | UART Receive Raw Interrupt Status This bit is cleared by writing a 1 to the RXIC bit in the UARTICR register or by reading data from the receive FIFO until it becomes less than the trigger level, if the FIFO is enabled, or by reading a single byte if the FIFO is disabled. 0h = No interrupt 1h = The receive FIFO level has passed through the condition defined in the UARTIFLS register. |
| 3 | DSRRIS | R | 0h | Reserved |
| 2 | DCDRIS | R | 0h | Reserved |
| 1 | CTSRIS | R | 0h | UART Clear to Send Modem Raw Interrupt Status This bit is cleared by writing a 1 to the CTSIC bit in the UARTICR register. 0h = No interrupt 1h = Clear to Send used for software flow control. |
| 0 | RIRIS | R | 0h | Reserved |
UARTMIS is shown in Figure 6-13 and described in Table 6-13.
Return to Summary Table.
The UARTMIS register is the masked interrupt status register. On a read, this register gives the current masked status value of the corresponding interrupt. A write has no effect.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
| RESERVED | |||||||
| R-0h | |||||||
| 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| RESERVED | DMATXMIS | DMARXMIS | |||||
| R-0h | R-0h | R-0h | |||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| RESERVED | RESERVED | OEMIS | BEMIS | PEMIS | |||
| R-0h | R-0h | R-0h | R-0h | R-0h | |||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| FEMIS | RTMIS | TXMIS | RXMIS | DSRMIS | DCDMIS | CTSMIS | RIMIS |
| R-0h | R-0h | R-0h | R-0h | R-0h | R-0h | R-0h | R-0h |
| LEGEND: R/W = Read/Write; R = Read only; W1toCl = Write 1 to clear bit; -n = value after reset |
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-18 | RESERVED | R | 0h | |
| 17 | DMATXMIS | R | 0h | Transmit DMA Masked Interrupt Status This bit is cleared by writing a 1 to the DMATXIC bit in the UARTICR register. 0h = An interrupt has not occurred or is masked. 1h = An unmasked interrupt was signaled due to the completion of the transmit DMA. |
| 16 | DMARXMIS | R | 0h | Receive DMA Masked Interrupt Status This bit is cleared by writing a 1 to the DMARXIC bit in the UARTICR register. 0h = An interrupt has not occurred or is masked. 1h = An unmasked interrupt was signaled due to the completion of the receive DMA. |
| 15-11 | RESERVED | R | 0h | |
| 10 | OEMIS | R | 0h | UART Overrun Error Masked Interrupt Status This bit is cleared by writing a 1 to the OEIC bit in the UARTICR register. 0h = An interrupt has not occurred or is masked. 1h = An unmasked interrupt was signaled due to an overrun error. |
| 9 | BEMIS | R | 0h | UART Break Error Masked Interrupt Status This bit is cleared by writing a 1 to the BEIC bit in the UARTICR register. 0h = An interrupt has not occurred or is masked. 1h = An unmasked interrupt was signaled due to a break error. |
| 8 | PEMIS | R | 0h | UART Parity Error Masked Interrupt Status This bit is cleared by writing a 1 to the PEIC bit in the UARTICR register. 0h = An interrupt has not occurred or is masked. 1h = An unmasked interrupt was signaled due to a parity error. |
| 7 | FEMIS | R | 0h | UART Framing Error Masked Interrupt Status This bit is cleared by writing a 1 to the FEIC bit in the UARTICR register. 0h = An interrupt has not occurred or is masked. 1h = An unmasked interrupt was signaled due to a framing error. |
| 6 | RTMIS | R | 0h | UART Receive Time-Out Masked Interrupt Status This bit is cleared by writing a 1 to the RTIC bit in the UARTICR register. 0h = An interrupt has not occurred or is masked. 1h = An unmasked interrupt was signaled due to a receive time out. |
| 5 | TXMIS | R | 0h | UART Transmit Masked Interrupt Status This bit is cleared by writing a 1 to the TXIC bit in the UARTICR register or by writing data to the transmit FIFO until it becomes greater than the trigger level, if the FIFO is enabled, or by writing a single byte if the FIFO is disabled. 0h = An interrupt has not occurred or is masked. 1h = An unmasked interrupt was signaled due to passing through the specified transmit FIFO level (if the EOT bit is clear) or due to the transmission of the last data bit (if the EOT bit is set). |
| 4 | RXMIS | R | 0h | UART Receive Masked Interrupt Status This bit is cleared by writing a 1 to the RXIC bit in the UARTICR register or by reading data from the receive FIFO until it becomes less than the trigger level, if the FIFO is enabled, or by reading a single byte if the FIFO is disabled. 0h = An interrupt has not occurred or is masked. 1h = An unmasked interrupt was signaled due to passing through the specified receive FIFO level. |
| 3 | DSRMIS | R | 0h | Reserved |
| 2 | DCDMIS | R | 0h | Reserved |
| 1 | CTSMIS | R | 0h | UART Clear to Send Modem Masked Interrupt Status This bit is cleared by writing a 1 to the CTSIC bit in the UARTICR register. 0h = An interrupt has not occurred or is masked. 1h = An unmasked interrupt was signaled due to Clear to Send. |
| 0 | RIMIS | R | 0h | Reserved |
UARTICR is shown in Figure 6-14 and described in Table 6-14.
Return to Summary Table.
The UARTICR register is the interrupt clear register. On a write of 1, the corresponding interrupt (both raw interrupt and masked interrupt, if enabled) is cleared. A write of 0 has no effect.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
| RESERVED | |||||||
| R-0h | |||||||
| 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| RESERVED | DMATXIC | DMARXIC | |||||
| R-0h | W1C-0h | W1C-0h | |||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| RESERVED | RESERVED | OEIC | BEIC | PEIC | |||
| R-0h | W1C-0h | W1C-0h | W1C-0h | W1C-0h | |||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| FEIC | RTIC | TXIC | RXIC | DSRMIC | DCDMIC | CTSMIC | RIMIC |
| W1C-0h | W1C-0h | W1C-0h | W1C-0h | W1C-0h | W1C-0h | W1C-0h | W1C-0h |
| LEGEND: R/W = Read/Write; R = Read only; W1toCl = Write 1 to clear bit; -n = value after reset |
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-18 | RESERVED | R | 0h | |
| 17 | DMATXIC | W1C | 0h | Transmit DMA Interrupt Clear Writing a 1 to this bit clears the DMATXRIS bit in the UARTRIS register and the DMATXMIS bit in the UARTMIS register. |
| 16 | DMARXIC | W1C | 0h | Receive DMA Interrupt Clear Writing a 1 to this bit clears the DMARXRIS bit in the UARTRIS register and the DMARXMIS bit in the UARTMIS register. |
| 15-11 | RESERVED | R | 0h | |
| 10 | OEIC | W1C | 0h | Overrun Error Interrupt Clear Writing a 1 to this bit clears the OERIS bit in the UARTRIS register and the OEMIS bit in the UARTMIS register. |
| 9 | BEIC | W1C | 0h | Break Error Interrupt Clear Writing a 1 to this bit clears the BERIS bit in the UARTRIS register and the BEMIS bit in the UARTMIS register. |
| 8 | PEIC | W1C | 0h | Parity Error Interrupt Clear Writing a 1 to this bit clears the PERIS bit in the UARTRIS register and the PEMIS bit in the UARTMIS register. |
| 7 | FEIC | W1C | 0h | Framing Error Interrupt Clear Writing a 1 to this bit clears the FERIS bit in the UARTRIS register and the FEMIS bit in the UARTMIS register. |
| 6 | RTIC | W1C | 0h | Receive Time-Out Interrupt Clear Writing a 1 to this bit clears the RTRIS bit in the UARTRIS register and the RTMIS bit in the UARTMIS register. |
| 5 | TXIC | W1C | 0h | Receive Time-Out Interrupt Clear Writing a 1 to this bit clears the RTRIS bit in the UARTRIS register and the RTMIS bit in the UARTMIS register. |
| 4 | RXIC | W1C | 0h | Receive Interrupt Clear Writing a 1 to this bit clears the RXRIS bit in the UARTRIS register and the RXMIS bit in the UARTMIS register. |
| 3 | DSRMIC | W1C | 0h | Reserved |
| 2 | DCDMIC | W1C | 0h | Reserved |
| 1 | CTSMIC | W1C | 0h | UART Clear to Send Modem Interrupt Clear Writing a 1 to this bit clears the CTSRIS bit in the UARTRIS register and the CTSMIS bit in the UARTMIS register. |
| 0 | RIMIC | W1C | 0h | Reserved |
UARTDMACTL is shown in Figure 6-15 and described in Table 6-15.
Return to Summary Table.
The UARTDMACTL register is the DMA control register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
| RESERVED | |||||||
| R-0h | |||||||
| 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| RESERVED | |||||||
| R-0h | |||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| RESERVED | |||||||
| R-0h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RESERVED | DMAERR | TXDMAE | RXDMAE | ||||
| R-0h | R/W-0h | R/W-0h | R/W-0h | ||||
| LEGEND: R/W = Read/Write; R = Read only; W1toCl = Write 1 to clear bit; -n = value after reset |
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-3 | RESERVED | R | 0h | |
| 2 | DMAERR | R/W | 0h | DMA on Error 0h = DMA receive requests are unaffected when a receive error occurs. 1h = DMA receive requests are automatically disabled when a receive error occurs. |
| 1 | TXDMAE | R/W | 0h | Transmit DMA Enable 0h = DMA for the receive FIFO is disabled. 1h = DMA for the receive FIFO is enabled. |
| 0 | RXDMAE | R/W | 0h | Receive DMA Enable 0h = DMA for the receive FIFO is disabled. 1h = DMA for the receive FIFO is enabled. |