Zephyr API Documentation 3.7.99
A Scalable Open Source RTOS
|
UART RX event data. More...
#include <uart.h>
Data Fields | |
uint8_t * | buf |
Pointer to current buffer. | |
size_t | offset |
Currently received data offset in bytes. | |
size_t | len |
Number of new bytes received. | |
UART RX event data.
The data represented by the event is stored in rx.buf[rx.offset] to rx.buf[rx.offset+rx.len]. That is, the length is relative to the offset.
uint8_t* uart_event_rx::buf |
Pointer to current buffer.
size_t uart_event_rx::len |
Number of new bytes received.
size_t uart_event_rx::offset |
Currently received data offset in bytes.