CC2538 UART

UART0_BASEADDR

UART0 Instance.

1
(cc2538_uart_t *)(&UART0_DR)
UART1_BASEADDR

UART1 Instance.

1
(cc2538_uart_t *)(&UART1_DR)
struct cc2538_uart_t

UART component registers.

cc2538.h::cc2538_reg_t DR

UART Data Register.

cc2538.h::cc2538_reg_t RSR

UART receive status and error clear.

cc2538.h::cc2538_reg_t ECR

UART receive status and error clear.

union cc2538_uart_t::@48 cc2538_uart_dr

Status register.

cc2538.h::cc2538_reg_t RESERVED1()

Reserved addresses.

Reserved bits.

cc2538.h::cc2538_reg_t FR

UART Flag Register.

cc2538.h::cc2538_reg_t CTS

Clear to send (UART1 only)

cc2538.h::cc2538_reg_t RESERVED2

Reserved bits.

Reserved byte.

cc2538.h::cc2538_reg_t BUSY

UART busy.

cc2538.h::cc2538_reg_t RXFE

UART receive FIFO empty.

cc2538.h::cc2538_reg_t TXFF

UART transmit FIFO full.

cc2538.h::cc2538_reg_t RXFF

UART receive FIFO full.

cc2538.h::cc2538_reg_t TXFE

UART transmit FIFO empty.

struct cc2538_uart_t::@49::@55 FRbits
union cc2538_uart_t::@49 cc2538_uart_fr

Flag register.

cc2538.h::cc2538_reg_t ILPR

UART IrDA Low-Power Register.

cc2538.h::cc2538_reg_t IBRD

UART Integer Baud-Rate Divisor.

cc2538.h::cc2538_reg_t FBRD

UART Fractional Baud-Rate Divisor.

cc2538.h::cc2538_reg_t LCRH

UART Line Control Register.

cc2538.h::cc2538_reg_t BRK

UART send break.

cc2538.h::cc2538_reg_t PEN

UART parity enable.

cc2538.h::cc2538_reg_t EPS

UART even parity select.

cc2538.h::cc2538_reg_t STP2

UART two stop bits select.

cc2538.h::cc2538_reg_t FEN

UART enable FIFOs.

cc2538.h::cc2538_reg_t WLEN

UART word length.

cc2538.h::cc2538_reg_t SPS

UART stick parity select.

cc2538.h::cc2538_reg_t RESERVED

Reserved bits.

struct cc2538_uart_t::@50::@56 LCRHbits
union cc2538_uart_t::@50 cc2538_uart_lcrh

Line control register.

cc2538.h::cc2538_reg_t CTL

UART Control.

cc2538.h::cc2538_reg_t UARTEN

UART enable.

cc2538.h::cc2538_reg_t SIREN

UART SIR enable.

cc2538.h::cc2538_reg_t SIRLP

UART SIR low-power mode.

cc2538.h::cc2538_reg_t RESERVED11

Reserved bits.

cc2538.h::cc2538_reg_t EOT

End of transmission.

cc2538.h::cc2538_reg_t HSE

High-speed enable.

cc2538.h::cc2538_reg_t LIN

LIN mode enable.

cc2538.h::cc2538_reg_t LBE

UART loop back enable.

cc2538.h::cc2538_reg_t TXE

UART transmit enable.

cc2538.h::cc2538_reg_t RXE

UART receive enable.

cc2538.h::cc2538_reg_t RESERVED12

Reserved bits.

cc2538.h::cc2538_reg_t RTSEN

U1RTS Hardware flow control enable.

cc2538.h::cc2538_reg_t CTSEN

U1CTS Hardware flow control enable.

cc2538.h::cc2538_reg_t RESERVED13

Reserved bits.

struct cc2538_uart_t::@51::@57 CTLbits
union cc2538_uart_t::@51 cc2538_uart_ctl

Control register.

cc2538.h::cc2538_reg_t IFLS

UART interrupt FIFO Level Select.

cc2538.h::cc2538_reg_t TXIFLSEL

UART transmit interrupt FIFO level select.

cc2538.h::cc2538_reg_t RXIFLSEL

UART receive interrupt FIFO level select.

struct cc2538_uart_t::@52::@58 IFLSbits
union cc2538_uart_t::@52 cc2538_uart_ifls

Interrupt FIFO level select register.

cc2538.h::cc2538_reg_t IM

UART Interrupt Mask.

cc2538.h::cc2538_reg_t RESERVED3

Reserved bits.

Reserved addresses.

cc2538.h::cc2538_reg_t RXIM

UART receive interrupt mask.

cc2538.h::cc2538_reg_t TXIM

UART transmit interrupt mask.

cc2538.h::cc2538_reg_t RTIM

UART receive time-out interrupt mask.

cc2538.h::cc2538_reg_t FEIM

UART framing error interrupt mask.

cc2538.h::cc2538_reg_t PEIM

UART parity error interrupt mask.

cc2538.h::cc2538_reg_t BEIM

UART break error interrupt mask.

cc2538.h::cc2538_reg_t OEIM

UART overrun error interrupt mask.

cc2538.h::cc2538_reg_t NINEBITM

9-bit mode interrupt mask

cc2538.h::cc2538_reg_t LMSBIM

LIN mode sync break interrupt mask.

cc2538.h::cc2538_reg_t LME1IM

LIN mode edge 1 interrupt mask.

cc2538.h::cc2538_reg_t LME5IM

LIN mode edge 5 interrupt mask.

struct cc2538_uart_t::@53::@59 IMbits
union cc2538_uart_t::@53 cc2538_uart_im

Interrupt mask register.

cc2538.h::cc2538_reg_t RIS

UART Raw Interrupt Status.

cc2538.h::cc2538_reg_t MIS

UART Masked Interrupt Status.

cc2538.h::cc2538_reg_t RESERVED8

Reserved bits.

cc2538.h::cc2538_reg_t RXMIS

UART receive masked interrupt status.

cc2538.h::cc2538_reg_t TXMIS

UART transmit masked interrupt status.

cc2538.h::cc2538_reg_t RTMIS

UART receive time-out masked interrupt status.

cc2538.h::cc2538_reg_t FEMIS

UART framing error masked interrupt status.

cc2538.h::cc2538_reg_t PEMIS

UART parity error masked interrupt status.

cc2538.h::cc2538_reg_t BEMIS

UART break error masked interrupt status.

cc2538.h::cc2538_reg_t OEMIS

UART overrun error masked interrupt status.

cc2538.h::cc2538_reg_t RESERVED9

Reserved bits.

cc2538.h::cc2538_reg_t NINEBITMIS

9-bit mode masked interrupt status

cc2538.h::cc2538_reg_t LMSBMIS

LIN mode sync break masked interrupt status.

cc2538.h::cc2538_reg_t LME1MIS

LIN mode edge 1 masked interrupt status.

cc2538.h::cc2538_reg_t LME5MIS

LIN mode edge 5 masked interrupt status.

cc2538.h::cc2538_reg_t RESERVED10

Reserved bits.

struct cc2538_uart_t::@54::@60 MISbits
union cc2538_uart_t::@54 cc2538_uart_mis

Masked interrupt status register.

cc2538.h::cc2538_reg_t ICR

UART Interrupt Clear Register.

cc2538.h::cc2538_reg_t DMACTL

UART DMA Control.

cc2538.h::cc2538_reg_t LCTL

UART LIN Control.

cc2538.h::cc2538_reg_t LSS

UART LIN Snap Shot.

cc2538.h::cc2538_reg_t LTIM

UART LIN Timer.

cc2538.h::cc2538_reg_t RESERVED4()

Reserved addresses.

cc2538.h::cc2538_reg_t NINEBITADDR

UART 9-bit self Address.

cc2538.h::cc2538_reg_t NINEBITAMASK

UART 9-bit self Address Mask.

cc2538.h::cc2538_reg_t RESERVED5()

Reserved addresses.

cc2538.h::cc2538_reg_t PP

UART Peripheral Properties.

cc2538.h::cc2538_reg_t RESERVED6

Reserved addresses.

cc2538.h::cc2538_reg_t CC

UART Clock Configuration.

cc2538.h::cc2538_reg_t RESERVED7()

Reserved addresses.