STM32 core 3.2.0-dev
Arduino core for STM32 based boards: API reference
← STM32duino documentation
Loading...
Searching...
No Matches
CDC_ReceiveQueue_TypeDef Struct Reference

Receive queue: ring buffer filled by USB OUT transfers and drained by the application. More...

#include <cdc_queue.h>

Public Attributes

uint8_t buffer [CDC_RECEIVE_QUEUE_BUFFER_SIZE]
 Ring buffer storage.
volatile uint16_t write
 Next free position to write into.
volatile uint16_t read
 Next position to read from.
volatile uint16_t length
 Wrap point: end of the valid data in the ring buffer.

Detailed Description

Receive queue: ring buffer filled by USB OUT transfers and drained by the application.


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