|
EE445M RTOS
Taken at the University of Texas Spring 2015
|

Go to the source code of this file.
Macros | |
| #define | UART_INT_DMATX 0x20000 |
| #define | UART_INT_DMARX 0x10000 |
| #define | UART_INT_9BIT 0x1000 |
| #define | UART_INT_OE 0x400 |
| #define | UART_INT_BE 0x200 |
| #define | UART_INT_PE 0x100 |
| #define | UART_INT_FE 0x080 |
| #define | UART_INT_RT 0x040 |
| #define | UART_INT_TX 0x020 |
| #define | UART_INT_RX 0x010 |
| #define | UART_INT_DSR 0x008 |
| #define | UART_INT_DCD 0x004 |
| #define | UART_INT_CTS 0x002 |
| #define | UART_INT_RI 0x001 |
| #define | UART_CONFIG_WLEN_MASK 0x00000060 |
| #define | UART_CONFIG_WLEN_8 0x00000060 |
| #define | UART_CONFIG_WLEN_7 0x00000040 |
| #define | UART_CONFIG_WLEN_6 0x00000020 |
| #define | UART_CONFIG_WLEN_5 0x00000000 |
| #define | UART_CONFIG_STOP_MASK 0x00000008 |
| #define | UART_CONFIG_STOP_ONE 0x00000000 |
| #define | UART_CONFIG_STOP_TWO 0x00000008 |
| #define | UART_CONFIG_PAR_MASK 0x00000086 |
| #define | UART_CONFIG_PAR_NONE 0x00000000 |
| #define | UART_CONFIG_PAR_EVEN 0x00000006 |
| #define | UART_CONFIG_PAR_ODD 0x00000002 |
| #define | UART_CONFIG_PAR_ONE 0x00000082 |
| #define | UART_CONFIG_PAR_ZERO 0x00000086 |
| #define | UART_FIFO_TX1_8 0x00000000 |
| #define | UART_FIFO_TX2_8 0x00000001 |
| #define | UART_FIFO_TX4_8 0x00000002 |
| #define | UART_FIFO_TX6_8 0x00000003 |
| #define | UART_FIFO_TX7_8 0x00000004 |
| #define | UART_FIFO_RX1_8 0x00000000 |
| #define | UART_FIFO_RX2_8 0x00000008 |
| #define | UART_FIFO_RX4_8 0x00000010 |
| #define | UART_FIFO_RX6_8 0x00000018 |
| #define | UART_FIFO_RX7_8 0x00000020 |
| #define | UART_DMA_ERR_RXSTOP 0x00000004 |
| #define | UART_DMA_TX 0x00000002 |
| #define | UART_DMA_RX 0x00000001 |
| #define | UART_RXERROR_OVERRUN 0x00000008 |
| #define | UART_RXERROR_BREAK 0x00000004 |
| #define | UART_RXERROR_PARITY 0x00000002 |
| #define | UART_RXERROR_FRAMING 0x00000001 |
| #define | UART_OUTPUT_RTS 0x00000800 |
| #define | UART_OUTPUT_DTR 0x00000400 |
| #define | UART_INPUT_RI 0x00000100 |
| #define | UART_INPUT_DCD 0x00000004 |
| #define | UART_INPUT_DSR 0x00000002 |
| #define | UART_INPUT_CTS 0x00000001 |
| #define | UART_FLOWCONTROL_TX 0x00008000 |
| #define | UART_FLOWCONTROL_RX 0x00004000 |
| #define | UART_FLOWCONTROL_NONE 0x00000000 |
| #define | UART_TXINT_MODE_FIFO 0x00000000 |
| #define | UART_TXINT_MODE_EOT 0x00000010 |
| #define | UART_CLOCK_SYSTEM 0x00000000 |
| #define | UART_CLOCK_PIOSC 0x00000005 |
Functions | |
| void | UARTParityModeSet (uint32_t ui32Base, uint32_t ui32Parity) |
| uint32_t | UARTParityModeGet (uint32_t ui32Base) |
| void | UARTFIFOLevelSet (uint32_t ui32Base, uint32_t ui32TxLevel, uint32_t ui32RxLevel) |
| void | UARTFIFOLevelGet (uint32_t ui32Base, uint32_t *pui32TxLevel, uint32_t *pui32RxLevel) |
| void | UARTConfigSetExpClk (uint32_t ui32Base, uint32_t ui32UARTClk, uint32_t ui32Baud, uint32_t ui32Config) |
| void | UARTConfigGetExpClk (uint32_t ui32Base, uint32_t ui32UARTClk, uint32_t *pui32Baud, uint32_t *pui32Config) |
| void | UARTEnable (uint32_t ui32Base) |
| void | UARTDisable (uint32_t ui32Base) |
| void | UARTFIFOEnable (uint32_t ui32Base) |
| void | UARTFIFODisable (uint32_t ui32Base) |
| void | UARTEnableSIR (uint32_t ui32Base, bool bLowPower) |
| void | UARTDisableSIR (uint32_t ui32Base) |
| bool | UARTCharsAvail (uint32_t ui32Base) |
| bool | UARTSpaceAvail (uint32_t ui32Base) |
| int32_t | UARTCharGetNonBlocking (uint32_t ui32Base) |
| int32_t | UARTCharGet (uint32_t ui32Base) |
| bool | UARTCharPutNonBlocking (uint32_t ui32Base, unsigned char ucData) |
| void | UARTCharPut (uint32_t ui32Base, unsigned char ucData) |
| void | UARTBreakCtl (uint32_t ui32Base, bool bBreakState) |
| bool | UARTBusy (uint32_t ui32Base) |
| void | UARTIntRegister (uint32_t ui32Base, void(*pfnHandler)(void)) |
| void | UARTIntUnregister (uint32_t ui32Base) |
| void | UARTIntEnable (uint32_t ui32Base, uint32_t ui32IntFlags) |
| void | UARTIntDisable (uint32_t ui32Base, uint32_t ui32IntFlags) |
| uint32_t | UARTIntStatus (uint32_t ui32Base, bool bMasked) |
| void | UARTIntClear (uint32_t ui32Base, uint32_t ui32IntFlags) |
| void | UARTDMAEnable (uint32_t ui32Base, uint32_t ui32DMAFlags) |
| void | UARTDMADisable (uint32_t ui32Base, uint32_t ui32DMAFlags) |
| uint32_t | UARTRxErrorGet (uint32_t ui32Base) |
| void | UARTRxErrorClear (uint32_t ui32Base) |
| void | UARTSmartCardEnable (uint32_t ui32Base) |
| void | UARTSmartCardDisable (uint32_t ui32Base) |
| void | UARTModemControlSet (uint32_t ui32Base, uint32_t ui32Control) |
| void | UARTModemControlClear (uint32_t ui32Base, uint32_t ui32Control) |
| uint32_t | UARTModemControlGet (uint32_t ui32Base) |
| uint32_t | UARTModemStatusGet (uint32_t ui32Base) |
| void | UARTFlowControlSet (uint32_t ui32Base, uint32_t ui32Mode) |
| uint32_t | UARTFlowControlGet (uint32_t ui32Base) |
| void | UARTTxIntModeSet (uint32_t ui32Base, uint32_t ui32Mode) |
| uint32_t | UARTTxIntModeGet (uint32_t ui32Base) |
| void | UARTClockSourceSet (uint32_t ui32Base, uint32_t ui32Source) |
| uint32_t | UARTClockSourceGet (uint32_t ui32Base) |
| void | UART9BitEnable (uint32_t ui32Base) |
| void | UART9BitDisable (uint32_t ui32Base) |
| void | UART9BitAddrSet (uint32_t ui32Base, uint8_t ui8Addr, uint8_t ui8Mask) |
| void | UART9BitAddrSend (uint32_t ui32Base, uint8_t ui8Addr) |
| #define UART_CLOCK_PIOSC 0x00000005 |
Definition at line 187 of file uart.h.
Referenced by UARTClockSourceSet().
| #define UART_CLOCK_SYSTEM 0x00000000 |
Definition at line 186 of file uart.h.
Referenced by UARTClockSourceSet().
| #define UART_CONFIG_PAR_EVEN 0x00000006 |
Definition at line 94 of file uart.h.
Referenced by UARTParityModeSet().
| #define UART_CONFIG_PAR_NONE 0x00000000 |
Definition at line 93 of file uart.h.
Referenced by main(), uart_init(), and UARTParityModeSet().
| #define UART_CONFIG_PAR_ODD 0x00000002 |
Definition at line 95 of file uart.h.
Referenced by UARTParityModeSet().
| #define UART_CONFIG_PAR_ONE 0x00000082 |
Definition at line 96 of file uart.h.
Referenced by UARTParityModeSet().
| #define UART_CONFIG_PAR_ZERO 0x00000086 |
Definition at line 97 of file uart.h.
Referenced by UARTParityModeSet().
| #define UART_CONFIG_STOP_ONE 0x00000000 |
Definition at line 90 of file uart.h.
Referenced by main(), and uart_init().
| #define UART_CONFIG_WLEN_8 0x00000060 |
Definition at line 85 of file uart.h.
Referenced by main(), and uart_init().
| #define UART_FIFO_RX1_8 0x00000000 |
Definition at line 117 of file uart.h.
Referenced by UARTFIFOLevelSet().
| #define UART_FIFO_RX2_8 0x00000008 |
Definition at line 118 of file uart.h.
Referenced by UARTFIFOLevelSet().
| #define UART_FIFO_RX4_8 0x00000010 |
Definition at line 119 of file uart.h.
Referenced by UARTFIFOLevelSet().
| #define UART_FIFO_RX6_8 0x00000018 |
Definition at line 120 of file uart.h.
Referenced by UARTFIFOLevelSet().
| #define UART_FIFO_RX7_8 0x00000020 |
Definition at line 121 of file uart.h.
Referenced by UARTFIFOLevelSet().
| #define UART_FIFO_TX1_8 0x00000000 |
Definition at line 105 of file uart.h.
Referenced by UARTFIFOLevelSet().
| #define UART_FIFO_TX2_8 0x00000001 |
Definition at line 106 of file uart.h.
Referenced by UARTFIFOLevelSet().
| #define UART_FIFO_TX4_8 0x00000002 |
Definition at line 107 of file uart.h.
Referenced by UARTFIFOLevelSet().
| #define UART_FIFO_TX6_8 0x00000003 |
Definition at line 108 of file uart.h.
Referenced by UARTFIFOLevelSet().
| #define UART_FIFO_TX7_8 0x00000004 |
Definition at line 109 of file uart.h.
Referenced by UARTFIFOLevelSet().
| #define UART_FLOWCONTROL_RX 0x00004000 |
Definition at line 168 of file uart.h.
Referenced by UARTFlowControlGet(), and UARTFlowControlSet().
| #define UART_FLOWCONTROL_TX 0x00008000 |
Definition at line 167 of file uart.h.
Referenced by UARTFlowControlGet(), and UARTFlowControlSet().
| #define UART_INPUT_CTS 0x00000001 |
Definition at line 159 of file uart.h.
Referenced by UARTModemStatusGet().
| #define UART_INPUT_DCD 0x00000004 |
Definition at line 157 of file uart.h.
Referenced by UARTModemStatusGet().
| #define UART_INPUT_DSR 0x00000002 |
Definition at line 158 of file uart.h.
Referenced by UARTModemStatusGet().
| #define UART_INPUT_RI 0x00000100 |
Definition at line 156 of file uart.h.
Referenced by UARTModemStatusGet().
| #define UART_INT_RT 0x040 |
Definition at line 67 of file uart.h.
Referenced by UART0_Handler(), and uart_init().
| #define UART_INT_RX 0x010 |
Definition at line 69 of file uart.h.
Referenced by UART0_Handler(), and uart_init().
| #define UART_INT_TX 0x020 |
Definition at line 68 of file uart.h.
Referenced by UART0_Handler().
| #define UART_OUTPUT_DTR 0x00000400 |
Definition at line 149 of file uart.h.
Referenced by UARTModemControlClear(), UARTModemControlGet(), and UARTModemControlSet().
| #define UART_OUTPUT_RTS 0x00000800 |
Definition at line 148 of file uart.h.
Referenced by UARTModemControlClear(), UARTModemControlGet(), and UARTModemControlSet().
| #define UART_TXINT_MODE_EOT 0x00000010 |
Definition at line 178 of file uart.h.
Referenced by UARTTxIntModeGet(), and UARTTxIntModeSet().
| #define UART_TXINT_MODE_FIFO 0x00000000 |
Definition at line 177 of file uart.h.
Referenced by UARTTxIntModeGet(), and UARTTxIntModeSet().