no-OS
|
Stucture holding the UART descriptor. More...
#include <uart.h>
Public Attributes | |
uint8_t | device_id |
uint32_t | baud_rate |
void(* | callback )(void *callback_ctx, uint32_t event, void *extra) |
void * | callback_ctx |
void * | extra |
Stucture holding the UART descriptor.
uint32_t uart_desc::baud_rate |
UART Baud Rate
void(* uart_desc::callback) (void *callback_ctx, uint32_t event, void *extra) |
Callback to be called when an operation is done (optional)
void* uart_desc::callback_ctx |
Parameter to be passed to the callback as app_param
uint8_t uart_desc::device_id |
UART Device ID
void* uart_desc::extra |
UART extra parameters (device specific)