UART transmit configuration structure. More...
#include <uart.h>
Data Fields | |
| char * | put_buff |
| uint32_t | num |
| uart_cb_t | callback |
| void * | user_data |
| bool | wait_for_tx_fifo_drain |
UART transmit configuration structure.
This structure contains configuration parameters for initiating a UART transmit operation. It includes the transmit buffer, number of bytes to send, an optional callback function for completion notification, user-defined data to be passed to the callback, and a flag to indicate whether the callback should wait until the TX FIFO is drained.
| char* uart_put_config_t::put_buff |
Pointer to transmit buffer data
| uint32_t uart_put_config_t::num |
Number of elements to transmit
| uart_cb_t uart_put_config_t::callback |
Callback function called after transmission completes
| void* uart_put_config_t::user_data |
Pointer for the user data passed to the callback function
| bool uart_put_config_t::wait_for_tx_fifo_drain |
True: Callback after FIFO is empty. False: Callback after data is loaded into TX FIFO.