|
|
Go to the documentation of this file. 46 #define UART_O_DR 0x00000000 // UART Data 47 #define UART_O_RSR 0x00000004 // UART Receive Status/Error Clear 48 #define UART_O_ECR 0x00000004 // UART Receive Status/Error Clear 49 #define UART_O_FR 0x00000018 // UART Flag 50 #define UART_O_ILPR 0x00000020 // UART IrDA Low-Power Register 51 #define UART_O_IBRD 0x00000024 // UART Integer Baud-Rate Divisor 52 #define UART_O_FBRD 0x00000028 // UART Fractional Baud-Rate 54 #define UART_O_LCRH 0x0000002C // UART Line Control 55 #define UART_O_CTL 0x00000030 // UART Control 56 #define UART_O_IFLS 0x00000034 // UART Interrupt FIFO Level Select 57 #define UART_O_IM 0x00000038 // UART Interrupt Mask 58 #define UART_O_RIS 0x0000003C // UART Raw Interrupt Status 59 #define UART_O_MIS 0x00000040 // UART Masked Interrupt Status 60 #define UART_O_ICR 0x00000044 // UART Interrupt Clear 61 #define UART_O_DMACTL 0x00000048 // UART DMA Control 62 #define UART_O_9BITADDR 0x000000A4 // UART 9-Bit Self Address 63 #define UART_O_9BITAMASK 0x000000A8 // UART 9-Bit Self Address Mask 64 #define UART_O_PP 0x00000FC0 // UART Peripheral Properties 65 #define UART_O_CC 0x00000FC8 // UART Clock Configuration 72 #define UART_DR_OE 0x00000800 // UART Overrun Error 73 #define UART_DR_BE 0x00000400 // UART Break Error 74 #define UART_DR_PE 0x00000200 // UART Parity Error 75 #define UART_DR_FE 0x00000100 // UART Framing Error 76 #define UART_DR_DATA_M 0x000000FF // Data Transmitted or Received 77 #define UART_DR_DATA_S 0 84 #define UART_RSR_OE 0x00000008 // UART Overrun Error 85 #define UART_RSR_BE 0x00000004 // UART Break Error 86 #define UART_RSR_PE 0x00000002 // UART Parity Error 87 #define UART_RSR_FE 0x00000001 // UART Framing Error 94 #define UART_ECR_DATA_M 0x000000FF // Error Clear 95 #define UART_ECR_DATA_S 0 102 #define UART_FR_RI 0x00000100 // Ring Indicator 103 #define UART_FR_TXFE 0x00000080 // UART Transmit FIFO Empty 104 #define UART_FR_RXFF 0x00000040 // UART Receive FIFO Full 105 #define UART_FR_TXFF 0x00000020 // UART Transmit FIFO Full 106 #define UART_FR_RXFE 0x00000010 // UART Receive FIFO Empty 107 #define UART_FR_BUSY 0x00000008 // UART Busy 108 #define UART_FR_DCD 0x00000004 // Data Carrier Detect 109 #define UART_FR_DSR 0x00000002 // Data Set Ready 110 #define UART_FR_CTS 0x00000001 // Clear To Send 117 #define UART_ILPR_ILPDVSR_M 0x000000FF // IrDA Low-Power Divisor 118 #define UART_ILPR_ILPDVSR_S 0 125 #define UART_IBRD_DIVINT_M 0x0000FFFF // Integer Baud-Rate Divisor 126 #define UART_IBRD_DIVINT_S 0 133 #define UART_FBRD_DIVFRAC_M 0x0000003F // Fractional Baud-Rate Divisor 134 #define UART_FBRD_DIVFRAC_S 0 141 #define UART_LCRH_SPS 0x00000080 // UART Stick Parity Select 142 #define UART_LCRH_WLEN_M 0x00000060 // UART Word Length 143 #define UART_LCRH_WLEN_5 0x00000000 // 5 bits (default) 144 #define UART_LCRH_WLEN_6 0x00000020 // 6 bits 145 #define UART_LCRH_WLEN_7 0x00000040 // 7 bits 146 #define UART_LCRH_WLEN_8 0x00000060 // 8 bits 147 #define UART_LCRH_FEN 0x00000010 // UART Enable FIFOs 148 #define UART_LCRH_STP2 0x00000008 // UART Two Stop Bits Select 149 #define UART_LCRH_EPS 0x00000004 // UART Even Parity Select 150 #define UART_LCRH_PEN 0x00000002 // UART Parity Enable 151 #define UART_LCRH_BRK 0x00000001 // UART Send Break 158 #define UART_CTL_CTSEN 0x00008000 // Enable Clear To Send 159 #define UART_CTL_RTSEN 0x00004000 // Enable Request to Send 160 #define UART_CTL_RTS 0x00000800 // Request to Send 161 #define UART_CTL_DTR 0x00000400 // Data Terminal Ready 162 #define UART_CTL_RXE 0x00000200 // UART Receive Enable 163 #define UART_CTL_TXE 0x00000100 // UART Transmit Enable 164 #define UART_CTL_LBE 0x00000080 // UART Loop Back Enable 165 #define UART_CTL_HSE 0x00000020 // High-Speed Enable 166 #define UART_CTL_EOT 0x00000010 // End of Transmission 167 #define UART_CTL_SMART 0x00000008 // ISO 7816 Smart Card Support 168 #define UART_CTL_SIRLP 0x00000004 // UART SIR Low-Power Mode 169 #define UART_CTL_SIREN 0x00000002 // UART SIR Enable 170 #define UART_CTL_UARTEN 0x00000001 // UART Enable 177 #define UART_IFLS_RX_M 0x00000038 // UART Receive Interrupt FIFO 179 #define UART_IFLS_RX1_8 0x00000000 // RX FIFO >= 1/8 full 180 #define UART_IFLS_RX2_8 0x00000008 // RX FIFO >= 1/4 full 181 #define UART_IFLS_RX4_8 0x00000010 // RX FIFO >= 1/2 full (default) 182 #define UART_IFLS_RX6_8 0x00000018 // RX FIFO >= 3/4 full 183 #define UART_IFLS_RX7_8 0x00000020 // RX FIFO >= 7/8 full 184 #define UART_IFLS_TX_M 0x00000007 // UART Transmit Interrupt FIFO 186 #define UART_IFLS_TX1_8 0x00000000 // TX FIFO <= 1/8 full 187 #define UART_IFLS_TX2_8 0x00000001 // TX FIFO <= 1/4 full 188 #define UART_IFLS_TX4_8 0x00000002 // TX FIFO <= 1/2 full (default) 189 #define UART_IFLS_TX6_8 0x00000003 // TX FIFO <= 3/4 full 190 #define UART_IFLS_TX7_8 0x00000004 // TX FIFO <= 7/8 full 197 #define UART_IM_DMATXIM 0x00020000 // Transmit DMA Interrupt Mask 198 #define UART_IM_DMARXIM 0x00010000 // Receive DMA Interrupt Mask 199 #define UART_IM_9BITIM 0x00001000 // 9-Bit Mode Interrupt Mask 200 #define UART_IM_EOTIM 0x00000800 // End of Transmission Interrupt 202 #define UART_IM_OEIM 0x00000400 // UART Overrun Error Interrupt 204 #define UART_IM_BEIM 0x00000200 // UART Break Error Interrupt Mask 205 #define UART_IM_PEIM 0x00000100 // UART Parity Error Interrupt Mask 206 #define UART_IM_FEIM 0x00000080 // UART Framing Error Interrupt 208 #define UART_IM_RTIM 0x00000040 // UART Receive Time-Out Interrupt 210 #define UART_IM_TXIM 0x00000020 // UART Transmit Interrupt Mask 211 #define UART_IM_RXIM 0x00000010 // UART Receive Interrupt Mask 212 #define UART_IM_DSRMIM 0x00000008 // UART Data Set Ready Modem 214 #define UART_IM_DCDMIM 0x00000004 // UART Data Carrier Detect Modem 216 #define UART_IM_CTSMIM 0x00000002 // UART Clear to Send Modem 218 #define UART_IM_RIMIM 0x00000001 // UART Ring Indicator Modem 226 #define UART_RIS_DMATXRIS 0x00020000 // Transmit DMA Raw Interrupt 228 #define UART_RIS_DMARXRIS 0x00010000 // Receive DMA Raw Interrupt Status 229 #define UART_RIS_9BITRIS 0x00001000 // 9-Bit Mode Raw Interrupt Status 230 #define UART_RIS_EOTRIS 0x00000800 // End of Transmission Raw 232 #define UART_RIS_OERIS 0x00000400 // UART Overrun Error Raw Interrupt 234 #define UART_RIS_BERIS 0x00000200 // UART Break Error Raw Interrupt 236 #define UART_RIS_PERIS 0x00000100 // UART Parity Error Raw Interrupt 238 #define UART_RIS_FERIS 0x00000080 // UART Framing Error Raw Interrupt 240 #define UART_RIS_RTRIS 0x00000040 // UART Receive Time-Out Raw 242 #define UART_RIS_TXRIS 0x00000020 // UART Transmit Raw Interrupt 244 #define UART_RIS_RXRIS 0x00000010 // UART Receive Raw Interrupt 246 #define UART_RIS_DSRRIS 0x00000008 // UART Data Set Ready Modem Raw 248 #define UART_RIS_DCDRIS 0x00000004 // UART Data Carrier Detect Modem 250 #define UART_RIS_CTSRIS 0x00000002 // UART Clear to Send Modem Raw 252 #define UART_RIS_RIRIS 0x00000001 // UART Ring Indicator Modem Raw 260 #define UART_MIS_DMATXMIS 0x00020000 // Transmit DMA Masked Interrupt 262 #define UART_MIS_DMARXMIS 0x00010000 // Receive DMA Masked Interrupt 264 #define UART_MIS_9BITMIS 0x00001000 // 9-Bit Mode Masked Interrupt 266 #define UART_MIS_EOTMIS 0x00000800 // End of Transmission Masked 268 #define UART_MIS_OEMIS 0x00000400 // UART Overrun Error Masked 270 #define UART_MIS_BEMIS 0x00000200 // UART Break Error Masked 272 #define UART_MIS_PEMIS 0x00000100 // UART Parity Error Masked 274 #define UART_MIS_FEMIS 0x00000080 // UART Framing Error Masked 276 #define UART_MIS_RTMIS 0x00000040 // UART Receive Time-Out Masked 278 #define UART_MIS_TXMIS 0x00000020 // UART Transmit Masked Interrupt 280 #define UART_MIS_RXMIS 0x00000010 // UART Receive Masked Interrupt 282 #define UART_MIS_DSRMIS 0x00000008 // UART Data Set Ready Modem Masked 284 #define UART_MIS_DCDMIS 0x00000004 // UART Data Carrier Detect Modem 286 #define UART_MIS_CTSMIS 0x00000002 // UART Clear to Send Modem Masked 288 #define UART_MIS_RIMIS 0x00000001 // UART Ring Indicator Modem Masked 296 #define UART_ICR_DMATXIC 0x00020000 // Transmit DMA Interrupt Clear 297 #define UART_ICR_DMARXIC 0x00010000 // Receive DMA Interrupt Clear 298 #define UART_ICR_9BITIC 0x00001000 // 9-Bit Mode Interrupt Clear 299 #define UART_ICR_EOTIC 0x00000800 // End of Transmission Interrupt 301 #define UART_ICR_OEIC 0x00000400 // Overrun Error Interrupt Clear 302 #define UART_ICR_BEIC 0x00000200 // Break Error Interrupt Clear 303 #define UART_ICR_PEIC 0x00000100 // Parity Error Interrupt Clear 304 #define UART_ICR_FEIC 0x00000080 // Framing Error Interrupt Clear 305 #define UART_ICR_RTIC 0x00000040 // Receive Time-Out Interrupt Clear 306 #define UART_ICR_TXIC 0x00000020 // Transmit Interrupt Clear 307 #define UART_ICR_RXIC 0x00000010 // Receive Interrupt Clear 308 #define UART_ICR_DSRMIC 0x00000008 // UART Data Set Ready Modem 310 #define UART_ICR_DCDMIC 0x00000004 // UART Data Carrier Detect Modem 312 #define UART_ICR_CTSMIC 0x00000002 // UART Clear to Send Modem 314 #define UART_ICR_RIMIC 0x00000001 // UART Ring Indicator Modem 322 #define UART_DMACTL_DMAERR 0x00000004 // DMA on Error 323 #define UART_DMACTL_TXDMAE 0x00000002 // Transmit DMA Enable 324 #define UART_DMACTL_RXDMAE 0x00000001 // Receive DMA Enable 332 #define UART_9BITADDR_9BITEN 0x00008000 // Enable 9-Bit Mode 333 #define UART_9BITADDR_ADDR_M 0x000000FF // Self Address for 9-Bit Mode 334 #define UART_9BITADDR_ADDR_S 0 342 #define UART_9BITAMASK_MASK_M 0x000000FF // Self Address Mask for 9-Bit Mode 343 #define UART_9BITAMASK_MASK_S 0 350 #define UART_PP_MSE 0x00000008 // Modem Support Extended 351 #define UART_PP_MS 0x00000004 // Modem Support 352 #define UART_PP_NB 0x00000002 // 9-Bit Support 353 #define UART_PP_SC 0x00000001 // Smart Card Support 360 #define UART_CC_CS_M 0x0000000F // UART Baud Clock Source 361 #define UART_CC_CS_SYSCLK 0x00000000 // System clock (based on clock 363 #define UART_CC_CS_PIOSC 0x00000005 // PIOSC 365 #endif // __HW_UART_H__
Copyright 2017, Texas Instruments Incorporated