ChibiOS/RT
2.5.1
USBOutEndpointState Struct Reference

Detailed Description

Type of an OUT endpoint state structure.

Definition at line 150 of file usb_lld.h.

#include <usb_lld.h>

Data Fields

bool_t rxqueued
 Buffer mode, queue or linear.
size_t rxsize
 Requested receive transfer size.
size_t rxcnt
 Received bytes so far.
uint16_t rxpkts
 Number of packets to receive.
uint8_t * rxbuf
 Pointer to the receive linear buffer.
InputQueue * rxqueue
 Pointer to the input queue.

Field Documentation

Buffer mode, queue or linear.

Definition at line 154 of file usb_lld.h.

Referenced by CH_IRQ_HANDLER(), usbPrepareQueuedReceive(), and usbPrepareReceive().

Requested receive transfer size.

Definition at line 158 of file usb_lld.h.

Referenced by CH_IRQ_HANDLER(), usb_lld_prepare_receive(), usbPrepareQueuedReceive(), and usbPrepareReceive().

Received bytes so far.

Definition at line 162 of file usb_lld.h.

Referenced by CH_IRQ_HANDLER(), usbPrepareQueuedReceive(), and usbPrepareReceive().

Pointer to the receive linear buffer.

Definition at line 168 of file usb_lld.h.

Pointer to the input queue.

Definition at line 174 of file usb_lld.h.

Number of packets to receive.

Definition at line 181 of file usb_lld.h.

Referenced by CH_IRQ_HANDLER(), and usb_lld_prepare_receive().