Loading...
Searching...
No Matches
cc2538_uart_t Struct Reference

UART component registers. More...

Detailed Description

UART component registers.

Definition at line 32 of file cc2538_uart.h.

#include <cc2538_uart.h>

Data Fields

cc2538_reg_t DR
 UART Data Register.
 
union { 
 
   cc2538_reg_t   RSR 
 UART receive status and error clear. More...
 
   cc2538_reg_t   ECR 
 UART receive status and error clear. More...
 
cc2538_uart_dr 
 Status register.
 
cc2538_reg_t RESERVED1 [4]
 Reserved addresses.
 
union { 
 
   cc2538_reg_t   FR 
 UART Flag Register. More...
 
   struct { 
 
      cc2538_reg_t   CTS: 1 
 Clear to send (UART1 only) More...
 
      cc2538_reg_t   RESERVED2: 2 
 Reserved bits. More...
 
      cc2538_reg_t   BUSY: 1 
 UART busy. More...
 
      cc2538_reg_t   RXFE: 1 
 UART receive FIFO empty. More...
 
      cc2538_reg_t   TXFF: 1 
 UART transmit FIFO full. More...
 
      cc2538_reg_t   RXFF: 1 
 UART receive FIFO full. More...
 
      cc2538_reg_t   TXFE: 1 
 UART transmit FIFO empty. More...
 
      cc2538_reg_t   RESERVED1: 24 
 Reserved bits. More...
 
   }   FRbits 
 
cc2538_uart_fr 
 Flag register.
 
cc2538_reg_t ILPR
 UART IrDA Low-Power Register.
 
cc2538_reg_t IBRD
 UART Integer Baud-Rate Divisor.
 
cc2538_reg_t FBRD
 UART Fractional Baud-Rate Divisor.
 
union { 
 
   cc2538_reg_t   LCRH 
 UART Line Control Register. More...
 
   struct { 
 
      cc2538_reg_t   BRK: 1 
 UART send break. More...
 
      cc2538_reg_t   PEN: 1 
 UART parity enable. More...
 
      cc2538_reg_t   EPS: 1 
 UART even parity select. More...
 
      cc2538_reg_t   STP2: 1 
 UART two stop bits select. More...
 
      cc2538_reg_t   FEN: 1 
 UART enable FIFOs. More...
 
      cc2538_reg_t   WLEN: 2 
 UART word length. More...
 
      cc2538_reg_t   SPS: 1 
 UART stick parity select. More...
 
      cc2538_reg_t   RESERVED: 24 
 Reserved bits. More...
 
   }   LCRHbits 
 
cc2538_uart_lcrh 
 Line control register.
 
union { 
 
   cc2538_reg_t   CTL 
 UART Control. More...
 
   struct { 
 
      cc2538_reg_t   UARTEN: 1 
 UART enable. More...
 
      cc2538_reg_t   SIREN: 1 
 UART SIR enable. More...
 
      cc2538_reg_t   SIRLP: 1 
 UART SIR low-power mode. More...
 
      cc2538_reg_t   RESERVED11: 1 
 Reserved bits. More...
 
      cc2538_reg_t   EOT: 1 
 End of transmission. More...
 
      cc2538_reg_t   HSE: 1 
 High-speed enable. More...
 
      cc2538_reg_t   LIN: 1 
 LIN mode enable. More...
 
      cc2538_reg_t   LBE: 1 
 UART loop back enable. More...
 
      cc2538_reg_t   TXE: 1 
 UART transmit enable. More...
 
      cc2538_reg_t   RXE: 1 
 UART receive enable. More...
 
      cc2538_reg_t   RESERVED12: 4 
 Reserved bits. More...
 
      cc2538_reg_t   RTSEN: 1 
 U1RTS Hardware flow control enable. More...
 
      cc2538_reg_t   CTSEN: 1 
 U1CTS Hardware flow control enable. More...
 
      cc2538_reg_t   RESERVED13: 16 
 Reserved bits. More...
 
   }   CTLbits 
 
cc2538_uart_ctl 
 Control register.
 
union { 
 
   cc2538_reg_t   IFLS 
 UART interrupt FIFO Level Select. More...
 
   struct { 
 
      cc2538_reg_t   TXIFLSEL: 3 
 UART transmit interrupt FIFO level select. More...
 
      cc2538_reg_t   RXIFLSEL: 3 
 UART receive interrupt FIFO level select. More...
 
      cc2538_reg_t   RESERVED: 26 
 Reserved bits. More...
 
   }   IFLSbits 
 
cc2538_uart_ifls 
 Interrupt FIFO level select register.
 
union { 
 
   cc2538_reg_t   IM 
 UART Interrupt Mask. More...
 
   struct { 
 
      cc2538_reg_t   RESERVED3: 4 
 Reserved bits. More...
 
      cc2538_reg_t   RXIM: 1 
 UART receive interrupt mask. More...
 
      cc2538_reg_t   TXIM: 1 
 UART transmit interrupt mask. More...
 
      cc2538_reg_t   RTIM: 1 
 UART receive time-out interrupt mask. More...
 
      cc2538_reg_t   FEIM: 1 
 UART framing error interrupt mask. More...
 
      cc2538_reg_t   PEIM: 1 
 UART parity error interrupt mask. More...
 
      cc2538_reg_t   BEIM: 1 
 UART break error interrupt mask. More...
 
      cc2538_reg_t   OEIM: 1 
 UART overrun error interrupt mask. More...
 
      cc2538_reg_t   RESERVED2: 1 
 Reserved bits. More...
 
      cc2538_reg_t   NINEBITM: 1 
 9-bit mode interrupt mask More...
 
      cc2538_reg_t   LMSBIM: 1 
 LIN mode sync break interrupt mask. More...
 
      cc2538_reg_t   LME1IM: 1 
 LIN mode edge 1 interrupt mask. More...
 
      cc2538_reg_t   LME5IM: 1 
 LIN mode edge 5 interrupt mask. More...
 
      cc2538_reg_t   RESERVED1: 16 
 Reserved bits. More...
 
   }   IMbits 
 
cc2538_uart_im 
 Interrupt mask register.
 
cc2538_reg_t RIS
 UART Raw Interrupt Status.
 
union { 
 
   cc2538_reg_t   MIS 
 UART Masked Interrupt Status. More...
 
   struct { 
 
      cc2538_reg_t   RESERVED8: 4 
 Reserved bits. More...
 
      cc2538_reg_t   RXMIS: 1 
 UART receive masked interrupt status. More...
 
      cc2538_reg_t   TXMIS: 1 
 UART transmit masked interrupt status. More...
 
      cc2538_reg_t   RTMIS: 1 
 UART receive time-out masked interrupt status. More...
 
      cc2538_reg_t   FEMIS: 1 
 UART framing error masked interrupt status. More...
 
      cc2538_reg_t   PEMIS: 1 
 UART parity error masked interrupt status. More...
 
      cc2538_reg_t   BEMIS: 1 
 UART break error masked interrupt status. More...
 
      cc2538_reg_t   OEMIS: 1 
 UART overrun error masked interrupt status. More...
 
      cc2538_reg_t   RESERVED9: 1 
 Reserved bits. More...
 
      cc2538_reg_t   NINEBITMIS: 1 
 9-bit mode masked interrupt status More...
 
      cc2538_reg_t   LMSBMIS: 1 
 LIN mode sync break masked interrupt status. More...
 
      cc2538_reg_t   LME1MIS: 1 
 LIN mode edge 1 masked interrupt status. More...
 
      cc2538_reg_t   LME5MIS: 1 
 LIN mode edge 5 masked interrupt status. More...
 
      cc2538_reg_t   RESERVED10: 16 
 Reserved bits. More...
 
   }   MISbits 
 
cc2538_uart_mis 
 Masked interrupt status register.
 
cc2538_reg_t ICR
 UART Interrupt Clear Register.
 
cc2538_reg_t DMACTL
 UART DMA Control.
 
cc2538_reg_t LCTL
 UART LIN Control.
 
cc2538_reg_t LSS
 UART LIN Snap Shot.
 
cc2538_reg_t LTIM
 UART LIN Timer.
 
cc2538_reg_t RESERVED4 [2]
 Reserved addresses.
 
cc2538_reg_t NINEBITADDR
 UART 9-bit self Address.
 
cc2538_reg_t NINEBITAMASK
 UART 9-bit self Address Mask.
 
cc2538_reg_t RESERVED5 [965]
 Reserved addresses.
 
cc2538_reg_t PP
 UART Peripheral Properties.
 
cc2538_reg_t RESERVED6
 Reserved addresses.
 
cc2538_reg_t CC
 UART Clock Configuration.
 
cc2538_reg_t RESERVED7 [13]
 Reserved addresses.
 

Field Documentation

◆ BEIM

cc2538_reg_t cc2538_uart_t::BEIM

UART break error interrupt mask.

Definition at line 131 of file cc2538_uart.h.

◆ BEMIS

cc2538_reg_t cc2538_uart_t::BEMIS

UART break error masked interrupt status.

Definition at line 156 of file cc2538_uart.h.

◆ BRK

cc2538_reg_t cc2538_uart_t::BRK

UART send break.

Definition at line 73 of file cc2538_uart.h.

◆ BUSY

cc2538_reg_t cc2538_uart_t::BUSY

UART busy.

Definition at line 53 of file cc2538_uart.h.

◆ CC

cc2538_reg_t cc2538_uart_t::CC

UART Clock Configuration.

Definition at line 179 of file cc2538_uart.h.

◆ CTL

cc2538_reg_t cc2538_uart_t::CTL

UART Control.

Definition at line 88 of file cc2538_uart.h.

◆ CTS

cc2538_reg_t cc2538_uart_t::CTS

Clear to send (UART1 only)

Definition at line 51 of file cc2538_uart.h.

◆ CTSEN

cc2538_reg_t cc2538_uart_t::CTSEN

U1CTS Hardware flow control enable.

Definition at line 102 of file cc2538_uart.h.

◆ DMACTL

cc2538_reg_t cc2538_uart_t::DMACTL

UART DMA Control.

Definition at line 168 of file cc2538_uart.h.

◆ DR

cc2538_reg_t cc2538_uart_t::DR

UART Data Register.

Definition at line 33 of file cc2538_uart.h.

◆ ECR

cc2538_reg_t cc2538_uart_t::ECR

UART receive status and error clear.

Definition at line 40 of file cc2538_uart.h.

◆ EOT

cc2538_reg_t cc2538_uart_t::EOT

End of transmission.

Definition at line 94 of file cc2538_uart.h.

◆ EPS

cc2538_reg_t cc2538_uart_t::EPS

UART even parity select.

Definition at line 75 of file cc2538_uart.h.

◆ FBRD

cc2538_reg_t cc2538_uart_t::FBRD

UART Fractional Baud-Rate Divisor.

Definition at line 65 of file cc2538_uart.h.

◆ FEIM

cc2538_reg_t cc2538_uart_t::FEIM

UART framing error interrupt mask.

Definition at line 129 of file cc2538_uart.h.

◆ FEMIS

cc2538_reg_t cc2538_uart_t::FEMIS

UART framing error masked interrupt status.

Definition at line 154 of file cc2538_uart.h.

◆ FEN

cc2538_reg_t cc2538_uart_t::FEN

UART enable FIFOs.

Definition at line 77 of file cc2538_uart.h.

◆ FR

cc2538_reg_t cc2538_uart_t::FR

UART Flag Register.

Definition at line 49 of file cc2538_uart.h.

◆ HSE

cc2538_reg_t cc2538_uart_t::HSE

High-speed enable.

Definition at line 95 of file cc2538_uart.h.

◆ IBRD

cc2538_reg_t cc2538_uart_t::IBRD

UART Integer Baud-Rate Divisor.

Definition at line 64 of file cc2538_uart.h.

◆ ICR

cc2538_reg_t cc2538_uart_t::ICR

UART Interrupt Clear Register.

Definition at line 167 of file cc2538_uart.h.

◆ IFLS

cc2538_reg_t cc2538_uart_t::IFLS

UART interrupt FIFO Level Select.

Definition at line 111 of file cc2538_uart.h.

◆ ILPR

cc2538_reg_t cc2538_uart_t::ILPR

UART IrDA Low-Power Register.

Definition at line 63 of file cc2538_uart.h.

◆ IM

cc2538_reg_t cc2538_uart_t::IM

UART Interrupt Mask.

Definition at line 123 of file cc2538_uart.h.

◆ LBE

cc2538_reg_t cc2538_uart_t::LBE

UART loop back enable.

Definition at line 97 of file cc2538_uart.h.

◆ LCRH

cc2538_reg_t cc2538_uart_t::LCRH

UART Line Control Register.

Definition at line 71 of file cc2538_uart.h.

◆ LCTL

cc2538_reg_t cc2538_uart_t::LCTL

UART LIN Control.

Definition at line 170 of file cc2538_uart.h.

◆ LIN

cc2538_reg_t cc2538_uart_t::LIN

LIN mode enable.

Definition at line 96 of file cc2538_uart.h.

◆ LME1IM

cc2538_reg_t cc2538_uart_t::LME1IM

LIN mode edge 1 interrupt mask.

Definition at line 136 of file cc2538_uart.h.

◆ LME1MIS

cc2538_reg_t cc2538_uart_t::LME1MIS

LIN mode edge 1 masked interrupt status.

Definition at line 161 of file cc2538_uart.h.

◆ LME5IM

cc2538_reg_t cc2538_uart_t::LME5IM

LIN mode edge 5 interrupt mask.

Definition at line 137 of file cc2538_uart.h.

◆ LME5MIS

cc2538_reg_t cc2538_uart_t::LME5MIS

LIN mode edge 5 masked interrupt status.

Definition at line 162 of file cc2538_uart.h.

◆ LMSBIM

cc2538_reg_t cc2538_uart_t::LMSBIM

LIN mode sync break interrupt mask.

Definition at line 135 of file cc2538_uart.h.

◆ LMSBMIS

cc2538_reg_t cc2538_uart_t::LMSBMIS

LIN mode sync break masked interrupt status.

Definition at line 160 of file cc2538_uart.h.

◆ LSS

cc2538_reg_t cc2538_uart_t::LSS

UART LIN Snap Shot.

Definition at line 171 of file cc2538_uart.h.

◆ LTIM

cc2538_reg_t cc2538_uart_t::LTIM

UART LIN Timer.

Definition at line 172 of file cc2538_uart.h.

◆ MIS

cc2538_reg_t cc2538_uart_t::MIS

UART Masked Interrupt Status.

Definition at line 148 of file cc2538_uart.h.

◆ NINEBITADDR

cc2538_reg_t cc2538_uart_t::NINEBITADDR

UART 9-bit self Address.

Definition at line 174 of file cc2538_uart.h.

◆ NINEBITAMASK

cc2538_reg_t cc2538_uart_t::NINEBITAMASK

UART 9-bit self Address Mask.

Definition at line 175 of file cc2538_uart.h.

◆ NINEBITM

cc2538_reg_t cc2538_uart_t::NINEBITM

9-bit mode interrupt mask

Definition at line 134 of file cc2538_uart.h.

◆ NINEBITMIS

cc2538_reg_t cc2538_uart_t::NINEBITMIS

9-bit mode masked interrupt status

Definition at line 159 of file cc2538_uart.h.

◆ OEIM

cc2538_reg_t cc2538_uart_t::OEIM

UART overrun error interrupt mask.

Definition at line 132 of file cc2538_uart.h.

◆ OEMIS

cc2538_reg_t cc2538_uart_t::OEMIS

UART overrun error masked interrupt status.

Definition at line 157 of file cc2538_uart.h.

◆ PEIM

cc2538_reg_t cc2538_uart_t::PEIM

UART parity error interrupt mask.

Definition at line 130 of file cc2538_uart.h.

◆ PEMIS

cc2538_reg_t cc2538_uart_t::PEMIS

UART parity error masked interrupt status.

Definition at line 155 of file cc2538_uart.h.

◆ PEN

cc2538_reg_t cc2538_uart_t::PEN

UART parity enable.

Definition at line 74 of file cc2538_uart.h.

◆ PP

cc2538_reg_t cc2538_uart_t::PP

UART Peripheral Properties.

Definition at line 177 of file cc2538_uart.h.

◆ RESERVED

cc2538_reg_t cc2538_uart_t::RESERVED

Reserved bits.

Definition at line 80 of file cc2538_uart.h.

◆ RESERVED1

cc2538_reg_t cc2538_uart_t::RESERVED1

Reserved addresses.

Reserved bits.

Definition at line 43 of file cc2538_uart.h.

◆ RESERVED10

cc2538_reg_t cc2538_uart_t::RESERVED10

Reserved bits.

Definition at line 163 of file cc2538_uart.h.

◆ RESERVED11

cc2538_reg_t cc2538_uart_t::RESERVED11

Reserved bits.

Definition at line 93 of file cc2538_uart.h.

◆ RESERVED12

cc2538_reg_t cc2538_uart_t::RESERVED12

Reserved bits.

Definition at line 100 of file cc2538_uart.h.

◆ RESERVED13

cc2538_reg_t cc2538_uart_t::RESERVED13

Reserved bits.

Definition at line 103 of file cc2538_uart.h.

◆ RESERVED2

cc2538_reg_t cc2538_uart_t::RESERVED2

Reserved bits.

Reserved byte.

Definition at line 52 of file cc2538_uart.h.

◆ RESERVED3

cc2538_reg_t cc2538_uart_t::RESERVED3

Reserved bits.

Reserved addresses.

Definition at line 125 of file cc2538_uart.h.

◆ RESERVED4

cc2538_reg_t cc2538_uart_t::RESERVED4[2]

Reserved addresses.

Definition at line 173 of file cc2538_uart.h.

◆ RESERVED5

cc2538_reg_t cc2538_uart_t::RESERVED5[965]

Reserved addresses.

Definition at line 176 of file cc2538_uart.h.

◆ RESERVED6

cc2538_reg_t cc2538_uart_t::RESERVED6

Reserved addresses.

Definition at line 178 of file cc2538_uart.h.

◆ RESERVED7

cc2538_reg_t cc2538_uart_t::RESERVED7[13]

Reserved addresses.

Definition at line 180 of file cc2538_uart.h.

◆ RESERVED8

cc2538_reg_t cc2538_uart_t::RESERVED8

Reserved bits.

Definition at line 150 of file cc2538_uart.h.

◆ RESERVED9

cc2538_reg_t cc2538_uart_t::RESERVED9

Reserved bits.

Definition at line 158 of file cc2538_uart.h.

◆ RIS

cc2538_reg_t cc2538_uart_t::RIS

UART Raw Interrupt Status.

Definition at line 142 of file cc2538_uart.h.

◆ RSR

cc2538_reg_t cc2538_uart_t::RSR

UART receive status and error clear.

Definition at line 39 of file cc2538_uart.h.

◆ RTIM

cc2538_reg_t cc2538_uart_t::RTIM

UART receive time-out interrupt mask.

Definition at line 128 of file cc2538_uart.h.

◆ RTMIS

cc2538_reg_t cc2538_uart_t::RTMIS

UART receive time-out masked interrupt status.

Definition at line 153 of file cc2538_uart.h.

◆ RTSEN

cc2538_reg_t cc2538_uart_t::RTSEN

U1RTS Hardware flow control enable.

Definition at line 101 of file cc2538_uart.h.

◆ RXE

cc2538_reg_t cc2538_uart_t::RXE

UART receive enable.

Definition at line 99 of file cc2538_uart.h.

◆ RXFE

cc2538_reg_t cc2538_uart_t::RXFE

UART receive FIFO empty.

Definition at line 54 of file cc2538_uart.h.

◆ RXFF

cc2538_reg_t cc2538_uart_t::RXFF

UART receive FIFO full.

Definition at line 56 of file cc2538_uart.h.

◆ RXIFLSEL

cc2538_reg_t cc2538_uart_t::RXIFLSEL

UART receive interrupt FIFO level select.

Definition at line 114 of file cc2538_uart.h.

◆ RXIM

cc2538_reg_t cc2538_uart_t::RXIM

UART receive interrupt mask.

Definition at line 126 of file cc2538_uart.h.

◆ RXMIS

cc2538_reg_t cc2538_uart_t::RXMIS

UART receive masked interrupt status.

Definition at line 151 of file cc2538_uart.h.

◆ SIREN

cc2538_reg_t cc2538_uart_t::SIREN

UART SIR enable.

Definition at line 91 of file cc2538_uart.h.

◆ SIRLP

cc2538_reg_t cc2538_uart_t::SIRLP

UART SIR low-power mode.

Definition at line 92 of file cc2538_uart.h.

◆ SPS

cc2538_reg_t cc2538_uart_t::SPS

UART stick parity select.

Definition at line 79 of file cc2538_uart.h.

◆ STP2

cc2538_reg_t cc2538_uart_t::STP2

UART two stop bits select.

Definition at line 76 of file cc2538_uart.h.

◆ TXE

cc2538_reg_t cc2538_uart_t::TXE

UART transmit enable.

Definition at line 98 of file cc2538_uart.h.

◆ TXFE

cc2538_reg_t cc2538_uart_t::TXFE

UART transmit FIFO empty.

Definition at line 57 of file cc2538_uart.h.

◆ TXFF

cc2538_reg_t cc2538_uart_t::TXFF

UART transmit FIFO full.

Definition at line 55 of file cc2538_uart.h.

◆ TXIFLSEL

cc2538_reg_t cc2538_uart_t::TXIFLSEL

UART transmit interrupt FIFO level select.

Definition at line 113 of file cc2538_uart.h.

◆ TXIM

cc2538_reg_t cc2538_uart_t::TXIM

UART transmit interrupt mask.

Definition at line 127 of file cc2538_uart.h.

◆ TXMIS

cc2538_reg_t cc2538_uart_t::TXMIS

UART transmit masked interrupt status.

Definition at line 152 of file cc2538_uart.h.

◆ UARTEN

cc2538_reg_t cc2538_uart_t::UARTEN

UART enable.

Definition at line 90 of file cc2538_uart.h.

◆ WLEN

cc2538_reg_t cc2538_uart_t::WLEN

UART word length.

Definition at line 78 of file cc2538_uart.h.


The documentation for this struct was generated from the following file: