You are viewing documentation for version:
USB HOST endpoint status data.
A host application should not manipulate the contents of this struct.
Public Attributes#
uint8_t
Error counter for SETUP transfers.
The device the endpoint belongs to.
uint16_t
Packet size, current transfer.
uint8_t
Host channel number assigned for OUT transfers.
uint8_t
Host channel number assigned for IN transfers.
volatile bool
Transfer completion flag.
Transfer completion callback function.
uint32_t
Number of bytes transferred.
uint32_t
Number of bytes remaining.
Public Attribute Documentation#
setup#
USB_Setup_TypeDef USBH_Ep_TypeDef::setup
A SETUP package.
setupErrCnt#
uint8_t USBH_Ep_TypeDef::setupErrCnt
Error counter for SETUP transfers.
epDesc#
USB_EndpointDescriptor_TypeDef USBH_Ep_TypeDef::epDesc
Endpoint descriptor.
parentDevice#
struct USBH_Device_TypeDef* USBH_Ep_TypeDef::parentDevice
The device the endpoint belongs to.
type#
uint8_t USBH_Ep_TypeDef::type
Endpoint type.
packetSize#
uint16_t USBH_Ep_TypeDef::packetSize
Packet size, current transfer.
hcOut#
uint8_t USBH_Ep_TypeDef::hcOut
Host channel number assigned for OUT transfers.
hcIn#
uint8_t USBH_Ep_TypeDef::hcIn
Host channel number assigned for IN transfers.
bool USBH_Ep_TypeDef::in
Endpoint direction.
toggle#
uint8_t USBH_Ep_TypeDef::toggle
Endpoint data toggle.
state#
USBH_EpState_TypeDef USBH_Ep_TypeDef::state
Endpoint state.
addr#
uint8_t USBH_Ep_TypeDef::addr
Endpoint address.
buf#
uint8_t* USBH_Ep_TypeDef::buf
Transfer buffer.
xferCompleted#
volatile bool USBH_Ep_TypeDef::xferCompleted
Transfer completion flag.
xferStatus#
USB_Status_TypeDef USBH_Ep_TypeDef::xferStatus
Transfer status.
xferCompleteCb#
USB_XferCompleteCb_TypeDef USBH_Ep_TypeDef::xferCompleteCb
Transfer completion callback function.
xferred#
uint32_t USBH_Ep_TypeDef::xferred
Number of bytes transferred.
remaining#
uint32_t USBH_Ep_TypeDef::remaining
Number of bytes remaining.
timeout#
uint32_t USBH_Ep_TypeDef::timeout
Transfer timeout.