\n

UART0

Peripheral Memory Blocks

address_offset : 0x0 Bytes (0x0)
size : 0x34 byte (0x0)
mem_usage : registers
protection :

Registers

UART_DAT

UART_MODEM

UART_MODEMSTS

UART_FIFOSTS

UART_INTSTS

UART_TOUT

UART_BAUD

UART_IRDA

UART_ALTCTL

UART_FUNCSEL

UART_INTEN

UART_FIFO

UART_LINE


UART_DAT

UART0 Receive/Transfer FIFO Register.
address_offset : 0x0 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

UART_DAT UART_DAT read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 DAT

DAT : Receive FIFO Register Reading this register will return data from the receive data FIFO. By reading this register, the UART will return the 8-bit data received from Rx pin (LSB first).
bits : 0 - 7 (8 bit)
access : read-write


UART_MODEM

UART0 Modem Control Register.
address_offset : 0x10 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

UART_MODEM UART_MODEM read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 RTS LBMEN RTSACTLV RTSSTS

RTS : RTS (Request-To-Send) Signal If UART_INTEN.ATORTSEN aaa 0, this bit controls whether RTS pin is active or not.
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

Drive RTS inactive ( aaa ~RTSACTLV)

#1 : 1

Drive RTS active ( aaa RTSACTLV)

End of enumeration elements list.

LBMEN : Loopback Mode Enable
bits : 4 - 4 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disable

#1 : 1

Enable

End of enumeration elements list.

RTSACTLV : Request-to-Send (RTS) Active Trigger Level This bit can change the RTS trigger level.
bits : 9 - 9 (1 bit)
access : read-write

Enumeration:

#0 : 0

RTS is active low level

#1 : 1

RTS is active high level

End of enumeration elements list.

RTSSTS : RTS Pin State (read only) This bit is the pin status of RTS.
bits : 13 - 13 (1 bit)
access : read-only


UART_MODEMSTS

UART0 Modem Status Register.
address_offset : 0x14 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

UART_MODEMSTS UART_MODEMSTS read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 CTSDETF CTSSTS CTSACTLV

CTSDETF : Detect CTS State Change Flag This bit is set whenever CTS input has state change. It will generate Modem interrupt to CPU when UART_INTEN.MODEMIEN aaa 1 NOTE: This bit is cleared by writing 1 to itself.
bits : 0 - 0 (1 bit)
access : read-write

CTSSTS : CTS Pin Status (read only) This bit is the pin status of CTS.
bits : 4 - 4 (1 bit)
access : read-only

CTSACTLV : Clear-to-Send (CTS) Active Trigger Level This bit can change the CTS trigger level.
bits : 8 - 8 (1 bit)
access : read-write

Enumeration:

#0 : 0

CTS is active low level

#1 : 1

CTS is active high level

End of enumeration elements list.


UART_FIFOSTS

UART0 FIFO Status Register.
address_offset : 0x18 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

UART_FIFOSTS UART_FIFOSTS read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 RXOVIF PEF FEF BIF RXPTR RXEMPTY RXFULL TXPTR TXEMPTY TXFULL TXOVIF TXEMPTYF

RXOVIF : Rx Overflow Error Interrupt Flag If the Rx FIFO ( UART_DAT) is full, and an additional byte is received by the UART, an overflow condition will occur and set this bit to logic 1. It will also generate a BUFERRIF event and interrupt if enabled. NOTE: This bit is cleared by writing 1 to itself.
bits : 0 - 0 (1 bit)
access : read-write

PEF : Parity Error Flag This bit is set to logic 1 whenever the received character does not have a valid parity bit , and is reset whenever the CPU writes 1 to this bit.
bits : 4 - 4 (1 bit)
access : read-write

FEF : Framing Error Flag This bit is set to logic 1 whenever the received character does not have a valid stop bit (that is, the stop bit following the last data bit or parity bit is detected as a logic 0), and is reset whenever the CPU writes 1 to this bit.
bits : 5 - 5 (1 bit)
access : read-write

BIF : Break Interrupt Flag This bit is set to a logic 1 whenever the receive data input (Rx) is held in the space state (logic 0) for longer than a full word transmission time (that is, the total time of start bit + data bits + parity + stop bits). It is reset whenever the CPU writes 1 to this bit.
bits : 6 - 6 (1 bit)
access : read-write

RXPTR : Rx FIFO pointer (Read Only) This field returns the Rx FIFO buffer pointer. It is the number of bytes available for read in the Rx FIFO. When UART receives one byte from external device, RXPTR is incremented. When one byte of Rx FIFO is read by CPU, RXPTR is decremented.
bits : 8 - 13 (6 bit)
access : read-only

RXEMPTY : Receive FIFO Empty (Read Only) This bit indicates whether the Rx FIFO is empty or not. When the last byte of Rx FIFO has been read by CPU, hardware sets this bit high. It will be cleared when UART receives any new data.
bits : 14 - 14 (1 bit)
access : read-only

RXFULL : Receive FIFO Full (Read Only) This bit indicates whether the Rx FIFO is full or not. This bit is set when Rx FIFO is full otherwise it is cleared by hardware.
bits : 15 - 15 (1 bit)
access : read-only

TXPTR : Tx FIFO Pointer (Read Only) This field returns the Tx FIFO buffer pointer. When CPU writes a byte into the Tx FIFO, TXPTR is incremented. When a byte from Tx FIFO is transferred to the Transmit Shift Register, TXPTR is decremented.
bits : 16 - 21 (6 bit)
access : read-only

TXEMPTY : Transmit FIFO Empty (Read Only) This bit indicates whether the Tx FIFO is empty or not. When the last byte of Tx FIFO has been transferred to Transmitter Shift Register, hardware sets this bit high. It will be cleared after writing data to FIFO (Tx FIFO not empty).
bits : 22 - 22 (1 bit)
access : read-only

TXFULL : Transmit FIFO Full (Read Only) This bit indicates whether the Tx FIFO is full or not.
bits : 23 - 23 (1 bit)
access : read-only

TXOVIF : Tx Overflow Error Interrupt Flag If the Tx FIFO ( UART_DAT) is full, an additional write to UART_DAT will cause an overflow condition and set this bit to logic 1. It will also generate a BUFERRIF event and interrupt if enabled. NOTE: This bit is cleared by writing 1 to itself.
bits : 24 - 24 (1 bit)
access : read-write

TXEMPTYF : Transmitter Empty (Read Only) Bit is set by hardware when Tx FIFO is empty and the STOP bit of the last byte has been transmitted. Bit is cleared automatically when Tx FIFO is not empty or the last byte transmission has not completed. NOTE: This bit is read only.
bits : 28 - 28 (1 bit)
access : read-only


UART_INTSTS

UART0 Interrupt Status Register.
address_offset : 0x1C Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

UART_INTSTS UART_INTSTS read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 RDAIF THREIF RLSIF MODENIF RXTOIF BUFERRIF LINIF RDAINT THERINT RLSINT MODEMINT RXTOINT BUFERRINT LININT DRLSIF DMODEMIF DRXTOIF DBERRIF DLINIF DRLSINT DMODEMI DRXTOINT DBERRINT DLININT

RDAIF : Receive Data Available Interrupt Flag (Read Only) When the number of bytes in the Rx FIFO equals UART_FIFO.RFITL then the RDAIF will be set. If UART_INTEN.RDAIEN is enabled, the RDA interrupt will be generated. NOTE: This bit is read only and it will be cleared when the number of unread bytes of Rx FIFO drops below the threshold level (RFITL).
bits : 0 - 0 (1 bit)
access : read-only

THREIF : Transmit Holding Register Empty Interrupt Flag (Read Only) This bit is set when the last data of Tx FIFO is transferred to Transmitter Shift Register. If UART_INTEN.THREIEN is enabled, the THRE interrupt will be generated. NOTE: This bit is read only and it will be cleared when writing data into the Tx FIFO.
bits : 1 - 1 (1 bit)
access : read-only

RLSIF : Receive Line Status Interrupt Flag (Read Only) This bit is set when the Rx receive data has a parity, framing or break error (at least one of, UART_FIFOSTS.BIF, UART_FIFOSTS.FEF and UART_FIFOSTS.PEF, is set). If UART_INTEN.RLSIEN is enabled, the RLS interrupt will be generated. NOTE: This bit is read only and reset to 0 when all bits of BIF, FEF and PEF are cleared.
bits : 2 - 2 (1 bit)
access : read-only

MODENIF : MODEM Interrupt Flag (Read Only) NOTE: This bit is read only and reset when bit UART_MODEMSTS.CTSDETF is cleared by a write 1.
bits : 3 - 3 (1 bit)
access : read-only

RXTOIF : Time Out Interrupt Flag (Read Only) This bit is set when the Rx FIFO is not empty and no activity occurs in the Rx FIFO and the time out counter equal to TOIC. If UART_INTEN.TOUT_IEN is enabled a CPU interrupt request will be generated. NOTE: This bit is read only and user can read FIFO to clear it.
bits : 4 - 4 (1 bit)
access : read-only

BUFERRIF : Buffer Error Interrupt Flag (Read Only) This bit is set when either the Tx or Rx FIFO overflows (UART_FIFOSTS.TXOVIF or UART_FIFOSTS.RXOVIF is set). When BUFERRIF is set, the serial transfer may be corrupted. If UART_INTEN.BUFERRIEN is enabled a CPU interrupt request will be generated. NOTE: This bit is cleared when both UART_FIFOSTS.TXOVIF and UART_FIFOSTS.RXOVIF are cleared.
bits : 5 - 5 (1 bit)
access : read-only

LINIF : LIN Bus Rx Break Field Detected Flag This bit is set when LIN controller detects a break field. This bit is cleared by writing a 1.
bits : 7 - 7 (1 bit)
access : read-write

RDAINT : Receive Data Available Interrupt Indicator to Interrupt Controller Logical AND of UART_INTEN.RDAIEN and RDAIF.
bits : 8 - 8 (1 bit)
access : read-write

THERINT : Transmit Holding Register Empty Interrupt Indicator to Interrupt Controller Logical AND of UART_INTEN.THREIEN and THREIF.
bits : 9 - 9 (1 bit)
access : read-write

RLSINT : Receive Line Status Interrupt Indicator to Interrupt Controller Logical AND of UART_INTEN.RLSIEN and RLSIF.
bits : 10 - 10 (1 bit)
access : read-write

MODEMINT : MODEM Status Interrupt Indicator to Interrupt Logical AND of UART_INTEN.MODEMIEN and MODENIF.
bits : 11 - 11 (1 bit)
access : read-write

RXTOINT : Time Out Interrupt Indicator to Interrupt Controller Logical AND of UART_INTEN.RXTOIEN and RXTOIF.
bits : 12 - 12 (1 bit)
access : read-write

BUFERRINT : Buffer Error Interrupt Indicator to Interrupt Controller Logical AND of UART_INTEN.BUFERRIEN and BUFERRIF.
bits : 13 - 13 (1 bit)
access : read-write

LININT : LIN Bus Rx Break Field Detected Interrupt Indicator to Interrupt Controller Logical AND of UART_INTEN.LINIEN and LINIF.
bits : 15 - 15 (1 bit)
access : read-write

DRLSIF : DMA MODE Receive Line Status Interrupt Flag (Read Only) This bit is set when the Rx receive data has a parity, framing or break error (at least one of, UART_FIFOSTS.BIF, UART_FIFOSTS.FEF and UART_FIFOSTS.PEF, is set). If UART_INTEN.RLSIEN is enabled, the RLS interrupt will be generated. NOTE: This bit is read only and reset to 0 when all bits of BIF, FEF and PEF are cleared.
bits : 18 - 18 (1 bit)
access : read-only

DMODEMIF : DMA MODE MODEM Interrupt Flag (Read Only) NOTE: This bit is read only and reset when bit UART_MODEMSTS.CTSDETF is cleared by a write 1.
bits : 19 - 19 (1 bit)
access : read-only

DRXTOIF : DMA MODE Time Out Interrupt Flag (Read Only) This bit is set when the Rx FIFO is not empty and no activity occurs in the Rx FIFO and the time out counter equal to TOIC. If UART_INTEN.TOUT_IEN is enabled a CPU interrupt request will be generated. NOTE: This bit is read only and user can read FIFO to clear it.
bits : 20 - 20 (1 bit)
access : read-only

DBERRIF : DMA MODE Buffer Error Interrupt Flag (Read Only) This bit is set when either the Tx or Rx FIFO overflows (UART_FIFOSTS.TXOVIF or UART_FIFOSTS.RXOVIF is set). When BUFERRIF is set, the serial transfer may be corrupted. If UART_INTEN.BUFERRIEN is enabled a CPU interrupt request will be generated. NOTE: This bit is cleared when both UART_FIFOSTS.TXOVIF and UART_FIFOSTS.RXOVIF are cleared.
bits : 21 - 21 (1 bit)
access : read-only

DLINIF : DMA MODE LIN Bus Rx Break Field Detected Flag This bit is set when LIN controller detects a break field. This bit is cleared by writing a 1.
bits : 23 - 23 (1 bit)
access : read-write

DRLSINT : DMA MODE Receive Line Status Interrupt Indicator to Interrupt Controller Logical AND of UART_INTEN.DMARXEN or UART_INTEN.DMATXEN and DRLSIF.
bits : 26 - 26 (1 bit)
access : read-write

DMODEMI : DMA MODE MODEM Status Interrupt Indicator to Interrupt Logical AND of UART_INTEN.DMARXEN or UART_INTEN.DMATXEN and DMODENIF.
bits : 27 - 27 (1 bit)
access : read-write

DRXTOINT : DMA MODE Time Out Interrupt Indicator to Interrupt Controller Logical AND of UART_INTEN.DMARXEN or UART_INTEN.DMATXEN and DRXTOIF.
bits : 28 - 28 (1 bit)
access : read-write

DBERRINT : DMA MODE Buffer Error Interrupt Indicator to Interrupt Controller Logical AND of UART_INTEN.DMARXEN or UART_INTEN.DMATXEN and DBERRIF.
bits : 29 - 29 (1 bit)
access : read-write

DLININT : DMA MODE LIN Bus Rx Break Field Detected Interrupt Indicator to Interrupt Controller Logical AND of UART_INTEN.DMARXEN or UART_INTEN.DMATXEN and DLINIF.
bits : 31 - 31 (1 bit)
access : read-write


UART_TOUT

UART0 Time Out Register
address_offset : 0x20 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

UART_TOUT UART_TOUT read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 TOIC

TOIC : Time Out Interrupt Comparator The time out counter resets and starts counting whenever the Rx FIFO receives a new data word. Once the content of time out counter (TOUT_CNT) is equal to that of time out interrupt comparator (TOIC), a receiver time out interrupt (RXTOINT) is generated if UART_INTEN.RXTOIEN is set. A new incoming data word or RX FIFO empty clears RXTOIF. The period of the time out counter is the baud rate.
bits : 0 - 6 (7 bit)
access : read-write


UART_BAUD

UART0 Baud Rate Divisor Register
address_offset : 0x24 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

UART_BAUD UART_BAUD read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BRD EDIVM1 BAUDM0 BAUDM1

BRD : Baud Rate Divider Refer to Table 5111 for more information.
bits : 0 - 15 (16 bit)
access : read-write

EDIVM1 : Divider X The baud rate divider M aaa EDIVM1+1.
bits : 24 - 27 (4 bit)
access : read-write

BAUDM0 : Divider X equal 1 0: M aaa EDIVM1+1, with restriction EDIVM1 ≥ 8. 1: M aaa 1, with restriction BRD[15:0] ≥ 3. Refer to Table 5111 for more information.
bits : 28 - 28 (1 bit)
access : read-write

BAUDM1 : Divider X Enable The baud rate equation is: Baud Rate aaa UART_CLK / [ M * (BRD + 2) ] The default value of M is 16. Refer to Table 5111 for more information. NOTE: When in IrDA mode, this bit must disabled.
bits : 29 - 29 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disable divider X ( M aaa 16)

#1 : 1

Enable divider X (M aaa EDIVM1+1, with EDIVM1 ≥ 8)

End of enumeration elements list.


UART_IRDA

UART0 IrDA Control Register.
address_offset : 0x28 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

UART_IRDA UART_IRDA read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 TXEN LOOPBACK TXINV RXINV

TXEN : Transmit/Receive Selection
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

Enable IrDA receiver

#1 : 1

Enable IrDA transmitter

End of enumeration elements list.

LOOPBACK : IrDA Loopback Test Mode Loopback Tx to Rx.
bits : 2 - 2 (1 bit)
access : read-write

TXINV : Transmit inversion enable
bits : 5 - 5 (1 bit)
access : read-write

Enumeration:

#0 : 0

No inversion

#1 : 1

Invert Tx output signal

End of enumeration elements list.

RXINV : Receive Inversion Enable
bits : 6 - 6 (1 bit)
access : read-write

Enumeration:

#0 : 0

No inversion

#1 : 1

Invert Rx input signal

End of enumeration elements list.


UART_ALTCTL

UART0 LIN Control Register.
address_offset : 0x2C Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

UART_ALTCTL UART_ALTCTL read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BRKFL LINRXEN LINTXEN

BRKFL : UART LIN Break Field Length Count This field indicates a 4-bit LIN Tx break field count. NOTE: This break field length is BRKFL + 2
bits : 0 - 3 (4 bit)
access : read-write

LINRXEN : LIN RX Enable
bits : 6 - 6 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disable LIN Rx mode

#1 : 1

Enable LIN Rx mode

End of enumeration elements list.

LINTXEN : LIN TX Break Mode Enable NOTE: When Tx break field transfer operation finished, this bit will be cleared automatically.
bits : 7 - 7 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disable LIN Tx Break Mode

#1 : 1

Enable LIN Tx Break Mode

End of enumeration elements list.


UART_FUNCSEL

UART0 Function Select Register.
address_offset : 0x30 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

UART_FUNCSEL UART_FUNCSEL read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 LINEN IRDAEN

LINEN : Enable LIN Function Note that IrDA and LIN functions are mutually exclusive: both cannot be active at same time.
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

UART Function

#1 : 1

Enable LIN Function

End of enumeration elements list.

IRDAEN : Enable IrDA Function
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

UART Function

#1 : 1

Enable IrDA Function

End of enumeration elements list.


UART_INTEN

UART0 Interrupt Enable Register.
address_offset : 0x4 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

UART_INTEN UART_INTEN read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 RDAIEN THREIEN RLSIEN MODEMIEN RXTOIEN BUFERRIEN LINIEN TOCNTEN ATORTSEN ATOCTSEN DMATXEN DMARXEN

RDAIEN : Receive Data Available Interrupt Enable.
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

Mask off RDAINT

#1 : 1

Enable RDAINT

End of enumeration elements list.

THREIEN : Transmit FIFO Register Empty Interrupt Enable
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

Mask off THERINT

#1 : 1

Enable THERINT

End of enumeration elements list.

RLSIEN : Receive Line Status Interrupt Enable
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

Mask off RLSINT

#1 : 1

Enable RLSINT

End of enumeration elements list.

MODEMIEN : Modem Status Interrupt Enable
bits : 3 - 3 (1 bit)
access : read-write

Enumeration:

#0 : 0

Mask off MODEMINT

#1 : 1

Enable MODEMINT

End of enumeration elements list.

RXTOIEN : Receive Time out Interrupt Enable
bits : 4 - 4 (1 bit)
access : read-write

Enumeration:

#0 : 0

Mask off RXTOINT

#1 : 1

Enable RXTOINT

End of enumeration elements list.

BUFERRIEN : Buffer Error Interrupt Enable
bits : 5 - 5 (1 bit)
access : read-write

Enumeration:

#0 : 0

Mask off BUFERRINT

#1 : 1

Enable IBUFERRINT

End of enumeration elements list.

LINIEN : LIN RX Break Field Detected Interrupt Enable
bits : 8 - 8 (1 bit)
access : read-write

Enumeration:

#0 : 0

Mask off Lin bus Rx break field interrupt

#1 : 1

Enable Lin bus Rx break field interrupt

End of enumeration elements list.

TOCNTEN : Time-Out Counter Enable
bits : 11 - 11 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disable Time-out counter

#1 : 1

Enable

End of enumeration elements list.

ATORTSEN : RTS Auto Flow Control Enable When RTS auto-flow is enabled, if the number of bytes in the Rx FIFO equals UART_FIFO.RTSTRGLV, the UART will de-assert the RTS signal.
bits : 12 - 12 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disable RTS auto flow control

#1 : 1

Enable

End of enumeration elements list.

ATOCTSEN : CTS Auto Flow Control Enable When CTS auto-flow is enabled, the UART will send data to external device when CTS input is asserted (UART will not send data to device until CTS is asserted).
bits : 13 - 13 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disable CTS auto flow control

#1 : 1

Enable

End of enumeration elements list.

DMATXEN : Transmit DMA Enable If enabled, the UART will request DMA service when space is available in transmit FIFO.
bits : 14 - 14 (1 bit)
access : read-write

DMARXEN : Receive DMA Enable If enabled, the UART will request DMA service when data is available in receive FIFO.
bits : 15 - 15 (1 bit)
access : read-write


UART_FIFO

UART0 FIFO Control Register.
address_offset : 0x8 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

UART_FIFO UART_FIFO read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 RXRST TXRST RFITL RTSTRGLV

RXRST : Receive FIFO Reset When RXRST is set, all the bytes in the receive FIFO are cleared and receive internal state machine is reset. Note: This bit will auto-clear after 3 UART engine clock cycles.
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

Writing 0 to this bit has no effect

#1 : 1

Writing 1 to this bit will reset the receiving internal state machine and pointers

End of enumeration elements list.

TXRST : Transmit FIFO Reset When TXRST is set, all the bytes in the transmit FIFO are cleared and transmit internal state machine is reset. Note: This bit will auto-clear after 3 UART engine clock cycles.
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

Writing 0 to this bit has no effect

#1 : 1

Writing 1 to this bit will reset the transmitting internal state machine and pointers

End of enumeration elements list.

RFITL : Receive FIFO Interrupt (RDAINT) Trigger Level When the number of bytes in the receive FIFO equals the RFITL then the RDAIF will be set and, if enabled, an RDAINT interrupt will generated. Value : INTR_RDA Trigger Level (Bytes) 0 : 1 1 : 4 2 : 8
bits : 4 - 7 (4 bit)
access : read-write

RTSTRGLV : RTS Trigger Level for Auto-flow Control Sets the FIFO trigger level when auto-flow control will de-assert RTS (request-to-send). Value : Trigger Level (Bytes) 0 : 1 1 : 4 2 : 8
bits : 16 - 19 (4 bit)
access : read-write


UART_LINE

UART0 Line Control Register.
address_offset : 0xC Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

UART_LINE UART_LINE read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 WLS NSB PBE EPE SPE BCB

WLS : Word Length Select 0 (5bits), 1(6bits), 2(7bits), 3(8bits)
bits : 0 - 1 (2 bit)
access : read-write

NSB : Number of STOP bits
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

One STOP bit is generated after the transmitted data

#1 : 1

Two STOP bits are generated when 6-, 7- and 8-bit word length is selected One and a half STOP bits are generated in the transmitted data when 5-bit word length is selected

End of enumeration elements list.

PBE : Parity Bit Enable
bits : 3 - 3 (1 bit)
access : read-write

Enumeration:

#0 : 0

Parity bit is not generated (transmit data) or checked (receive data) during transfer

#1 : 1

Parity bit is generated or checked between the last data word bit and stop bit of the serial data

End of enumeration elements list.

EPE : Even Parity Enable This bit has effect only when PBE (parity bit enable) is set.
bits : 4 - 4 (1 bit)
access : read-write

Enumeration:

#0 : 0

Odd number of logic 1's are transmitted or checked in the data word and parity bits

#1 : 1

Even number of logic 1's are transmitted or checked in the data word and parity bits

End of enumeration elements list.

SPE : Stick Parity Enable
bits : 5 - 5 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disable stick parity

#1 : 1

When bits PBE and SPE are set 'Stick Parity' is enabled. If EPE=0 the parity bit is transmitted and checked as always set, if EPE=1, the parity bit is transmitted and checked as always cleared

End of enumeration elements list.

BCB : Break Control Bit When this bit is set to logic 1, the serial data output (Tx) is forced to the 'Space' state (logic 0). Normal condition is serial data output is 'Mark' state. This bit acts only on Tx and has no effect on the transmitter logic.
bits : 6 - 6 (1 bit)
access : read-write



Is something missing? Is something wrong? can you help correct it ? Please contact us at info@chipselect.org !

This website is sponsored by EmbeetleEmbeetle, an IDE designed from scratch for embedded software developers.