Endpoint Buffer for Writing and Reading.
More...
Endpoint Buffer for Writing and Reading.
#define USB_DATA_BUFFER_TEM_LENGTH 512 |
Size of share memory buffer that a device uses to communicate with host.
Definition at line 48 of file EndpointCommon.h.
Array to store the physical endpoint number or the actual endpoint number that need to be configured for any USB transactions.
Store the current selected endpoint number, always the logical endpint number. Usually used as index of endpointhandle array.
uint8_t usb_data_buffer[] |
uint8_t usb_data_buffer_IN[] |
volatile uint32_t usb_data_buffer_IN_index |
Indexer rolling along the share memory buffer. Used to determine the offset of next read/write activities on share memory buffer or the total amount of data ready to be sent.
uint8_t usb_data_buffer_OUT[] |
volatile uint32_t usb_data_buffer_OUT_index |
volatile uint32_t usb_data_buffer_OUT_size |
volatile int32_t usb_data_buffer_size |