172 void* callback_context);
188 void* callback_context);
207 void* callback_context);
Definition leddriver.h:33
void(* EndCallbackFunctionPtr)(void *context, Result result)
Definition uart.h:123
Result BlockingTransmit(uint8_t *buff, size_t size, uint32_t timeout=100)
Result DmaTransmit(uint8_t *buff, size_t size, UartHandler::StartCallbackFunctionPtr start_callback, UartHandler::EndCallbackFunctionPtr end_callback, void *callback_context)
Result DmaListenStart(uint8_t *buff, size_t size, CircularRxCallbackFunctionPtr cb, void *callback_context)
const Config & GetConfig() const
UartHandler(const UartHandler &other)=default
void(* StartCallbackFunctionPtr)(void *context)
Definition uart.h:121
Result PollTx(uint8_t *buff, size_t size)
void(* CircularRxCallbackFunctionPtr)(uint8_t *data, size_t size, void *context, Result result)
Definition uart.h:136
int PollReceive(uint8_t *buff, size_t size, uint32_t timeout)
Result Init(const Config &config)
Result BlockingReceive(uint8_t *buffer, uint16_t size, uint32_t timeout=100)
Result
Definition uart.h:103
UartHandler()
Definition uart.h:97
DmaDirection
Definition uart.h:109
UartHandler & operator=(const UartHandler &other)=default
Result DmaReceive(uint8_t *buff, size_t size, UartHandler::StartCallbackFunctionPtr start_callback, UartHandler::EndCallbackFunctionPtr end_callback, void *callback_context)
void dsy_uart_global_init()
Hardware defines and helpers for daisy field platform.
Definition index.h:2
representation of hardware port/pin combination
Definition daisy_core.h:193
Pin rx
Definition uart.h:76
Pin tx
Definition uart.h:75
StopBits
Definition uart.h:45
Mode mode
Definition uart.h:91
StopBits stopbits
Definition uart.h:89
WordLength wordlength
Definition uart.h:92
Peripheral periph
Definition uart.h:88
Parity
Definition uart.h:53
struct daisy::UartHandler::Config::@20 pin_config
Config()
Definition uart.h:79
uint32_t baudrate
Definition uart.h:93
WordLength
Definition uart.h:67
Parity parity
Definition uart.h:90
Peripheral
Definition uart.h:32