UART component registers. More...
UART component registers.
Definition at line 28 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. | ||
| cc2538_reg_t cc2538_uart_t::BEIM | 
UART break error interrupt mask.
Definition at line 127 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::BEMIS | 
UART break error masked interrupt status.
Definition at line 152 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::BRK | 
UART send break.
Definition at line 69 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::BUSY | 
UART busy.
Definition at line 49 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::CC | 
UART Clock Configuration.
Definition at line 175 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::CTL | 
UART Control.
Definition at line 84 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::CTS | 
Clear to send (UART1 only)
Definition at line 47 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::CTSEN | 
U1CTS Hardware flow control enable.
Definition at line 98 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::DMACTL | 
UART DMA Control.
Definition at line 164 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::DR | 
UART Data Register.
Definition at line 29 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::ECR | 
UART receive status and error clear.
Definition at line 36 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::EOT | 
End of transmission.
Definition at line 90 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::EPS | 
UART even parity select.
Definition at line 71 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::FBRD | 
UART Fractional Baud-Rate Divisor.
Definition at line 61 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::FEIM | 
UART framing error interrupt mask.
Definition at line 125 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::FEMIS | 
UART framing error masked interrupt status.
Definition at line 150 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::FEN | 
UART enable FIFOs.
Definition at line 73 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::FR | 
UART Flag Register.
Definition at line 45 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::HSE | 
High-speed enable.
Definition at line 91 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::IBRD | 
UART Integer Baud-Rate Divisor.
Definition at line 60 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::ICR | 
UART Interrupt Clear Register.
Definition at line 163 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::IFLS | 
UART interrupt FIFO Level Select.
Definition at line 107 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::ILPR | 
UART IrDA Low-Power Register.
Definition at line 59 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::IM | 
UART Interrupt Mask.
Definition at line 119 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::LBE | 
UART loop back enable.
Definition at line 93 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::LCRH | 
UART Line Control Register.
Definition at line 67 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::LCTL | 
UART LIN Control.
Definition at line 166 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::LIN | 
LIN mode enable.
Definition at line 92 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::LME1IM | 
LIN mode edge 1 interrupt mask.
Definition at line 132 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::LME1MIS | 
LIN mode edge 1 masked interrupt status.
Definition at line 157 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::LME5IM | 
LIN mode edge 5 interrupt mask.
Definition at line 133 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::LME5MIS | 
LIN mode edge 5 masked interrupt status.
Definition at line 158 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::LMSBIM | 
LIN mode sync break interrupt mask.
Definition at line 131 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::LMSBMIS | 
LIN mode sync break masked interrupt status.
Definition at line 156 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::LSS | 
UART LIN Snap Shot.
Definition at line 167 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::LTIM | 
UART LIN Timer.
Definition at line 168 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::MIS | 
UART Masked Interrupt Status.
Definition at line 144 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::NINEBITADDR | 
UART 9-bit self Address.
Definition at line 170 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::NINEBITAMASK | 
UART 9-bit self Address Mask.
Definition at line 171 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::NINEBITM | 
9-bit mode interrupt mask
Definition at line 130 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::NINEBITMIS | 
9-bit mode masked interrupt status
Definition at line 155 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::OEIM | 
UART overrun error interrupt mask.
Definition at line 128 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::OEMIS | 
UART overrun error masked interrupt status.
Definition at line 153 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::PEIM | 
UART parity error interrupt mask.
Definition at line 126 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::PEMIS | 
UART parity error masked interrupt status.
Definition at line 151 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::PEN | 
UART parity enable.
Definition at line 70 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::PP | 
UART Peripheral Properties.
Definition at line 173 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::RESERVED | 
Reserved bits.
Definition at line 76 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::RESERVED1 | 
| cc2538_reg_t cc2538_uart_t::RESERVED10 | 
Reserved bits.
Definition at line 159 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::RESERVED11 | 
Reserved bits.
Definition at line 89 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::RESERVED12 | 
Reserved bits.
Definition at line 96 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::RESERVED13 | 
Reserved bits.
Definition at line 99 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::RESERVED2 | 
| cc2538_reg_t cc2538_uart_t::RESERVED3 | 
| cc2538_reg_t cc2538_uart_t::RESERVED4[2] | 
Reserved addresses.
Definition at line 169 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::RESERVED5[965] | 
Reserved addresses.
Definition at line 172 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::RESERVED6 | 
Reserved addresses.
Definition at line 174 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::RESERVED7[13] | 
Reserved addresses.
Definition at line 176 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::RESERVED8 | 
Reserved bits.
Definition at line 146 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::RESERVED9 | 
Reserved bits.
Definition at line 154 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::RIS | 
UART Raw Interrupt Status.
Definition at line 138 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::RSR | 
UART receive status and error clear.
Definition at line 35 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::RTIM | 
UART receive time-out interrupt mask.
Definition at line 124 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::RTMIS | 
UART receive time-out masked interrupt status.
Definition at line 149 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::RTSEN | 
U1RTS Hardware flow control enable.
Definition at line 97 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::RXE | 
UART receive enable.
Definition at line 95 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::RXFE | 
UART receive FIFO empty.
Definition at line 50 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::RXFF | 
UART receive FIFO full.
Definition at line 52 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::RXIFLSEL | 
UART receive interrupt FIFO level select.
Definition at line 110 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::RXIM | 
UART receive interrupt mask.
Definition at line 122 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::RXMIS | 
UART receive masked interrupt status.
Definition at line 147 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::SIREN | 
UART SIR enable.
Definition at line 87 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::SIRLP | 
UART SIR low-power mode.
Definition at line 88 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::SPS | 
UART stick parity select.
Definition at line 75 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::STP2 | 
UART two stop bits select.
Definition at line 72 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::TXE | 
UART transmit enable.
Definition at line 94 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::TXFE | 
UART transmit FIFO empty.
Definition at line 53 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::TXFF | 
UART transmit FIFO full.
Definition at line 51 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::TXIFLSEL | 
UART transmit interrupt FIFO level select.
Definition at line 109 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::TXIM | 
UART transmit interrupt mask.
Definition at line 123 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::TXMIS | 
UART transmit masked interrupt status.
Definition at line 148 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::UARTEN | 
UART enable.
Definition at line 86 of file cc2538_uart.h.
| cc2538_reg_t cc2538_uart_t::WLEN | 
UART word length.
Definition at line 74 of file cc2538_uart.h.