ChibiOS 21.11.4
USBOutEndpointState Struct Reference

Type of an OUT endpoint state structure. More...

#include <hal_usb_lld.h>

Collaboration diagram for USBOutEndpointState:
Collaboration graph

Data Fields

size_t rxsize
 Requested receive transfer size.
size_t rxcnt
 Received bytes so far.
uint8_t * rxbuf
 Pointer to the receive linear buffer.
thread_reference_t thread
 Waiting thread.

Detailed Description

Type of an OUT endpoint state structure.

Definition at line 108 of file hal_usb_lld.h.

Field Documentation

◆ rxsize

size_t USBOutEndpointState::rxsize

Requested receive transfer size.

Definition at line 112 of file hal_usb_lld.h.

Referenced by usbStartReceiveI().

◆ rxcnt

size_t USBOutEndpointState::rxcnt

Received bytes so far.

Definition at line 116 of file hal_usb_lld.h.

Referenced by usbStartReceiveI().

◆ rxbuf

uint8_t* USBOutEndpointState::rxbuf

Pointer to the receive linear buffer.

Definition at line 120 of file hal_usb_lld.h.

Referenced by usbStartReceiveI().

◆ thread

thread_reference_t USBOutEndpointState::thread

Waiting thread.

Definition at line 125 of file hal_usb_lld.h.

Referenced by _usb_reset(), _usb_suspend(), usbDisableEndpointsI(), usbReceive(), usbStartReceiveI(), and usbStop().