58 #ifndef ti_drivers_uart_UARTCC32XX__include 59 #define ti_drivers_uart_UARTCC32XX__include 64 #include <ti/drivers/dpl/ClockP.h> 65 #include <ti/drivers/dpl/HwiP.h> 66 #include <ti/drivers/dpl/SemaphoreP.h> 82 #define UARTCC32XX_PIN_UNASSIGNED 0xFFF 94 #define UARTCC32XX_PIN_01_UART1_TX 0x700 95 #define UARTCC32XX_PIN_02_UART1_RX 0x701 96 #define UARTCC32XX_PIN_03_UART0_TX 0x702 97 #define UARTCC32XX_PIN_04_UART0_RX 0x703 98 #define UARTCC32XX_PIN_07_UART1_TX 0x506 99 #define UARTCC32XX_PIN_08_UART1_RX 0x507 100 #define UARTCC32XX_PIN_16_UART1_TX 0x20F 101 #define UARTCC32XX_PIN_17_UART1_RX 0x210 102 #define UARTCC32XX_PIN_45_UART0_RX 0x92C 103 #define UARTCC32XX_PIN_45_UART1_RX 0x22C 104 #define UARTCC32XX_PIN_53_UART0_TX 0x934 105 #define UARTCC32XX_PIN_55_UART0_TX 0x336 106 #define UARTCC32XX_PIN_55_UART1_TX 0x636 107 #define UARTCC32XX_PIN_57_UART0_RX 0x338 108 #define UARTCC32XX_PIN_57_UART1_RX 0x638 109 #define UARTCC32XX_PIN_58_UART1_TX 0x639 110 #define UARTCC32XX_PIN_59_UART1_RX 0x63A 111 #define UARTCC32XX_PIN_62_UART0_TX 0xB3D 116 #define UARTCC32XX_PIN_50_UART0_CTS 0xC31 117 #define UARTCC32XX_PIN_50_UART0_RTS 0x331 118 #define UARTCC32XX_PIN_50_UART1_RTS 0xA31 119 #define UARTCC32XX_PIN_52_UART0_RTS 0x633 120 #define UARTCC32XX_PIN_61_UART0_RTS 0x53C 121 #define UARTCC32XX_PIN_61_UART0_CTS 0x63C 122 #define UARTCC32XX_PIN_61_UART1_CTS 0x33C 123 #define UARTCC32XX_PIN_62_UART0_RTS 0xA3D 124 #define UARTCC32XX_PIN_62_UART1_RTS 0x33D 129 #define UARTCC32XX_FLOWCTRL_NONE 0 134 #define UARTCC32XX_FLOWCTRL_HARDWARE 1 168 #define UARTCC32XX_CMD_IS_BUSY (UART_CMD_RESERVED + 0) 179 #define UARTCC32XX_CMD_IS_RX_DATA_AVAILABLE (UART_CMD_RESERVED + 1) 190 #define UARTCC32XX_CMD_IS_TX_SPACE_AVAILABLE (UART_CMD_RESERVED + 2) 353 bool inReadCallback:1;
354 volatile bool readCallbackPending:1;
UART_STOP
UART stop bit settings.
Definition: UART.h:525
const unsigned char * writeBuf
Definition: UARTCC32XX.h:376
unsigned int powerMgrId
Definition: UARTCC32XX.h:385
void(* UARTCC32XX_ErrorCallback)(UART_Handle handle, uint32_t error)
The definition of an optional callback function used by the UART driver to notify the application whe...
Definition: UARTCC32XX.h:236
uint16_t txPin
Definition: UARTCC32XX.h:308
uint32_t baudRate
Definition: UARTCC32XX.h:359
const UART_FxnTable UARTCC32XX_fxnTable
Power_NotifyObj postNotify
Definition: UARTCC32XX.h:384
uint32_t flowControl
Definition: UARTCC32XX.h:300
unsigned int intNum
Definition: UARTCC32XX.h:296
UARTCC32XX Object.
Definition: UARTCC32XX.h:322
uint16_t txPin
Definition: UARTCC32XX.h:387
The definition of a UART function table that contains the required set of functions to control a spec...
Definition: UART.h:637
SemaphoreP_Handle readSem
Definition: UARTCC32XX.h:371
UART_PAR
UART parity type settings.
Definition: UART.h:535
UART_Mode
UART mode settings.
Definition: UART.h:430
unsigned int baseAddr
Definition: UARTCC32XX.h:294
UART_DataMode
UART data mode settings.
Definition: UART.h:485
UART_ReturnMode
UART return mode settings.
Definition: UART.h:463
uint16_t rtsPin
Definition: UARTCC32XX.h:312
UART_Echo
UART echo settings.
Definition: UART.h:503
PowerCC32XX_ParkState prevParkTX
Definition: UARTCC32XX.h:386
UART Global configuration.
Definition: UART.h:680
size_t readCount
Definition: UARTCC32XX.h:370
uint16_t ctsPin
Definition: UARTCC32XX.h:310
UART_LEN dataLength
Definition: UARTCC32XX.h:360
Power manager interface for the CC32XX.
size_t readSize
Definition: UARTCC32XX.h:369
UART_Callback writeCallback
Definition: UARTCC32XX.h:381
UARTCC32XX_ErrorCallback errorFxn
Definition: UARTCC32XX.h:314
Complement set of read functions to be used by the UART ISR and UARTCC32XX_read(). Internal use only.
Definition: UARTCC32XX.h:219
Power notify object structure.
Definition: Power.h:443
unsigned int intPriority
Definition: UARTCC32XX.h:298
unsigned int writeTimeout
Definition: UARTCC32XX.h:380
Universal Asynchronous Receiver-Transmitter (UART) Driver.
HwiP_Handle hwiHandle
Definition: UARTCC32XX.h:357
UARTCC32XX Hardware attributes.
Definition: UARTCC32XX.h:292
uint16_t rtsPin
Definition: UARTCC32XX.h:389
struct UARTCC32XX_Object * UARTCC32XX_Handle
UART_PAR parityType
Definition: UARTCC32XX.h:362
UART_Callback readCallback
Definition: UARTCC32XX.h:373
unsigned char * ringBufPtr
Definition: UARTCC32XX.h:302
UART_LEN
UART data length settings.
Definition: UART.h:513
SemaphoreP_Handle writeSem
Definition: UARTCC32XX.h:379
unsigned int readTimeout
Definition: UARTCC32XX.h:372
RingBuf_Object ringBuffer
Definition: UARTCC32XX.h:365
PowerCC32XX_ParkState prevParkRTS
Definition: UARTCC32XX.h:388
UARTCC32XX_FxnSet readFxns
Definition: UARTCC32XX.h:367
size_t ringBufSize
Definition: UARTCC32XX.h:304
unsigned char * readBuf
Definition: UARTCC32XX.h:368
ClockP_Handle timeoutClk
Definition: UARTCC32XX.h:358
uint16_t rxPin
Definition: UARTCC32XX.h:306
UART_STOP stopBits
Definition: UARTCC32XX.h:361
size_t writeSize
Definition: UARTCC32XX.h:377
void(* UART_Callback)(UART_Handle handle, void *buf, size_t count)
The definition of a callback function used by the UART driver when used in UART_MODE_CALLBACK The cal...
Definition: UART.h:423
size_t writeCount
Definition: UARTCC32XX.h:378
PowerCC32XX_ParkState
Enumeration of states a pin can be parked in.
Definition: PowerCC32XX.h:393