Zephyr API 3.6.99
Loading...
Searching...
No Matches
uart_event_rx Struct Reference

UART RX event data. More...

#include <uart.h>

Data Fields

uint8_tbuf
 Pointer to current buffer.
 
size_t offset
 Currently received data offset in bytes.
 
size_t len
 Number of new bytes received.
 

Detailed Description

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.

Field Documentation

◆ buf

uint8_t* uart_event_rx::buf

Pointer to current buffer.

◆ len

size_t uart_event_rx::len

Number of new bytes received.

◆ offset

size_t uart_event_rx::offset

Currently received data offset in bytes.


The documentation for this struct was generated from the following file: