UART receive configuration structure. More...
#include <uart.h>
Data Fields | |
| char * | get_buff |
| uint32_t | num |
| uart_cb_t | callback |
| void * | user_data |
UART receive configuration structure.
This structure contains configuration parameters for initiating a UART receive operation. It includes the buffer to store received data, the expected number of bytes, a callback function to be invoked upon completion, and user-defined data to be passed to the callback.
| char* uart_get_config_t::get_buff |
Pointer to the receive buffer where incoming data is stored
| uint32_t uart_get_config_t::num |
Number of elements to receive
| uart_cb_t uart_get_config_t::callback |
Pointer to the callback function invoked after reception
| void* uart_get_config_t::user_data |
Pointer to store the user data passed to the callback function