340 #ifndef ti_drivers_uart_UARTCC26X0__include 341 #define ti_drivers_uart_UARTCC26X0__include 350 #include <ti/drivers/dpl/ClockP.h> 351 #include <ti/drivers/dpl/HwiP.h> 352 #include <ti/drivers/dpl/SemaphoreP.h> 353 #include <ti/drivers/dpl/SwiP.h> 364 #define UARTCC26X0_FLOWCTRL_NONE 0 369 #define UARTCC26X0_FLOWCTRL_HARDWARE 1 402 #define UARTCC26X0_CMD_RETURN_PARTIAL_ENABLE (UART_CMD_RESERVED + 0) 411 #define UARTCC26X0_CMD_RETURN_PARTIAL_DISABLE (UART_CMD_RESERVED + 1) 419 #define UARTCC26X0_CMD_RX_FIFO_FLUSH (UART_CMD_RESERVED + 2) 425 #define UARTCC26X0_FIFO_SIZE 32 582 bool ctrlRxEnabled:1;
enum UART_Echo_ UART_Echo
UART echo settings.
UARTCC26X0_FifoThreshold
UART TX/RX interrupt FIFO threshold select.
Definition: UARTCC26X0.h:438
UARTCC26X0 Object.
Definition: UARTCC26X0.h:556
size_t readSize
Definition: UARTCC26X0.h:602
size_t readCount
Definition: UARTCC26X0.h:603
unsigned int readTimeout
Definition: UARTCC26X0.h:605
enum UART_PAR_ UART_PAR
UART parity type settings.
bool readRetPartial
Definition: UARTCC26X0.h:607
enum UART_LEN_ UART_LEN
UART data length settings.
UARTCC26X0_FifoThreshold txIntFifoThr
Definition: UARTCC26X0.h:544
uint8_t rtsPin
Definition: UARTCC26X0.h:542
enum UART_Mode_ UART_Mode
UART mode settings.
Definition: UARTCC26X0.h:441
uint8_t intPriority
Definition: UARTCC26X0.h:522
HwiP_Struct hwi
Definition: UARTCC26X0.h:589
unsigned char * ringBufPtr
Definition: UARTCC26X0.h:532
uint8_t rxPin
Definition: UARTCC26X0.h:536
uint32_t status
Definition: UARTCC26X0.h:597
Definition: UARTCC26X0.h:443
UART Global configuration.
Definition: UART.h:678
struct UARTCC26X0_HWAttrs UARTCC26X0_HWAttrs
UARTCC26X0 Hardware attributes.
size_t writeCount
Definition: UARTCC26X0.h:612
unsigned char * readBuf
Definition: UARTCC26X0.h:601
int intNum
Definition: UARTCC26X0.h:520
SemaphoreP_Struct readSem
Definition: UARTCC26X0.h:604
struct UARTCC26X0_Object * UARTCC26X0_Handle
Device-specific pin & GPIO driver for CC26xx family [def].
Power_NotifyObj postNotify
Definition: UARTCC26X0.h:623
uint8_t txPin
Definition: UARTCC26X0.h:538
size_t ringBufSize
Definition: UARTCC26X0.h:534
uint32_t baudRate
Definition: UARTCC26X0.h:593
SwiP_Struct swi
Definition: UARTCC26X0.h:590
Definition: UARTCC26X0.h:442
uint32_t baseAddr
Definition: UARTCC26X0.h:518
PIN_State pinState
Definition: UARTCC26X0.h:619
The definition of a UART function table that contains the required set of functions to control a spec...
Definition: UART.h:635
size_t writeSize
Definition: UARTCC26X0.h:611
Power notify object structure.
Definition: Power.h:443
struct UARTCC26X0_Object UARTCC26X0_Object
UARTCC26X0 Object.
ClockP_Struct timeoutClk
Definition: UARTCC26X0.h:591
Universal Asynchronous Receiver-Transmitter (UART) Driver.
const unsigned char * writeBuf
Definition: UARTCC26X0.h:610
UART_Callback writeCallback
Definition: UARTCC26X0.h:615
uint8_t ctsPin
Definition: UARTCC26X0.h:540
SemaphoreP_Struct writeSem
Definition: UARTCC26X0.h:613
underlying data structure for type PIN_State
Definition: PIN.h:707
ClockP_Struct txFifoEmptyClk
Definition: UARTCC26X0.h:592
enum UART_STOP_ UART_STOP
UART stop bit settings.
Definition: UARTCC26X0.h:440
enum UART_ReturnMode_ UART_ReturnMode
UART return mode settings.
UARTCC26X0 Hardware attributes.
Definition: UARTCC26X0.h:516
unsigned int writeTimeout
Definition: UARTCC26X0.h:614
RingBuf_Object ringBuffer
Definition: UARTCC26X0.h:600
UARTCC26X0_FifoThreshold rxIntFifoThr
Definition: UARTCC26X0.h:546
uint32_t swiPriority
Swi priority. The higher the number, the higher the priority. The minimum priority is 0 and the maxim...
Definition: UARTCC26X0.h:528
UARTCC26X0_ErrorCallback errorFxn
Definition: UARTCC26X0.h:548
void(* UARTCC26X0_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: UARTCC26X0.h:457
unsigned int writeEmptyClkTimeout
Definition: UARTCC26X0.h:616
UART_Callback readCallback
Definition: UARTCC26X0.h:606
const UART_FxnTable UARTCC26X0_fxnTable
uint32_t flowControl
Definition: UARTCC26X0.h:530
PIN_Handle hPin
Definition: UARTCC26X0.h:620
Definition: UARTCC26X0.h:439
UART_PAR parityType
Definition: UARTCC26X0.h:596
UART_LEN dataLength
Definition: UARTCC26X0.h:594
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:421
Definition: UARTCC26X0.h:444
enum UART_DataMode_ UART_DataMode
UART data mode settings.
UART_STOP stopBits
Definition: UARTCC26X0.h:595