Software APIs
Data Fields
usb_logging_buf Struct Reference

Data Fields

usb_logging_buf_tnext
 Link to the next buffer for this stream, or the next free buffer.
 
uint16_t bytes_used
 Number of used bytes; index at which next write shall occur.
 
uint8_t data [kUSBLogBufferSize]
 Data buffer holding logging data.
 

Detailed Description

Definition at line 42 of file usb_logging.c.

Field Documentation

◆ bytes_used

uint16_t usb_logging_buf::bytes_used

Number of used bytes; index at which next write shall occur.

Definition at line 50 of file usb_logging.c.

◆ data

uint8_t usb_logging_buf::data[kUSBLogBufferSize]

Data buffer holding logging data.

Definition at line 54 of file usb_logging.c.

◆ next

usb_logging_buf_t* usb_logging_buf::next

Link to the next buffer for this stream, or the next free buffer.

Definition at line 46 of file usb_logging.c.