USB HOST endpoint status data.

A host application should not manipulate the contents of this struct.

Public Attributes#

A SETUP package.

uint8_t

Error counter for SETUP transfers.

The device the endpoint belongs to.

uint8_t

Endpoint type.

uint16_t

Packet size, current transfer.

uint8_t

Host channel number assigned for OUT transfers.

uint8_t

Host channel number assigned for IN transfers.

bool

Endpoint direction.

uint8_t

Endpoint data toggle.

uint8_t

Endpoint address.

uint8_t *

Transfer buffer.

volatile bool

Transfer completion flag.

Transfer completion callback function.

uint32_t

Number of bytes transferred.

uint32_t

Number of bytes remaining.

uint32_t

Transfer timeout.

Public Attribute Documentation#

setup#

USB_Setup_TypeDef USBH_Ep_TypeDef::setup

A SETUP package.


Definition at line 844 of file platform/middleware/usb_gecko/inc/em_usb.h

setupErrCnt#

uint8_t USBH_Ep_TypeDef::setupErrCnt

Error counter for SETUP transfers.


Definition at line 845 of file platform/middleware/usb_gecko/inc/em_usb.h

epDesc#

USB_EndpointDescriptor_TypeDef USBH_Ep_TypeDef::epDesc

Endpoint descriptor.


Definition at line 846 of file platform/middleware/usb_gecko/inc/em_usb.h

parentDevice#

struct USBH_Device_TypeDef* USBH_Ep_TypeDef::parentDevice

The device the endpoint belongs to.


Definition at line 847 of file platform/middleware/usb_gecko/inc/em_usb.h

type#

uint8_t USBH_Ep_TypeDef::type

Endpoint type.


Definition at line 848 of file platform/middleware/usb_gecko/inc/em_usb.h

packetSize#

uint16_t USBH_Ep_TypeDef::packetSize

Packet size, current transfer.


Definition at line 849 of file platform/middleware/usb_gecko/inc/em_usb.h

hcOut#

uint8_t USBH_Ep_TypeDef::hcOut

Host channel number assigned for OUT transfers.


Definition at line 850 of file platform/middleware/usb_gecko/inc/em_usb.h

hcIn#

uint8_t USBH_Ep_TypeDef::hcIn

Host channel number assigned for IN transfers.


Definition at line 851 of file platform/middleware/usb_gecko/inc/em_usb.h

in#

bool USBH_Ep_TypeDef::in

Endpoint direction.


Definition at line 852 of file platform/middleware/usb_gecko/inc/em_usb.h

toggle#

uint8_t USBH_Ep_TypeDef::toggle

Endpoint data toggle.


Definition at line 853 of file platform/middleware/usb_gecko/inc/em_usb.h

state#

USBH_EpState_TypeDef USBH_Ep_TypeDef::state

Endpoint state.


Definition at line 854 of file platform/middleware/usb_gecko/inc/em_usb.h

addr#

uint8_t USBH_Ep_TypeDef::addr

Endpoint address.


Definition at line 855 of file platform/middleware/usb_gecko/inc/em_usb.h

buf#

uint8_t* USBH_Ep_TypeDef::buf

Transfer buffer.


Definition at line 856 of file platform/middleware/usb_gecko/inc/em_usb.h

xferCompleted#

volatile bool USBH_Ep_TypeDef::xferCompleted

Transfer completion flag.


Definition at line 857 of file platform/middleware/usb_gecko/inc/em_usb.h

xferStatus#

USB_Status_TypeDef USBH_Ep_TypeDef::xferStatus

Transfer status.


Definition at line 858 of file platform/middleware/usb_gecko/inc/em_usb.h

xferCompleteCb#

USB_XferCompleteCb_TypeDef USBH_Ep_TypeDef::xferCompleteCb

Transfer completion callback function.


Definition at line 859 of file platform/middleware/usb_gecko/inc/em_usb.h

xferred#

uint32_t USBH_Ep_TypeDef::xferred

Number of bytes transferred.


Definition at line 860 of file platform/middleware/usb_gecko/inc/em_usb.h

remaining#

uint32_t USBH_Ep_TypeDef::remaining

Number of bytes remaining.


Definition at line 861 of file platform/middleware/usb_gecko/inc/em_usb.h

timeout#

uint32_t USBH_Ep_TypeDef::timeout

Transfer timeout.


Definition at line 862 of file platform/middleware/usb_gecko/inc/em_usb.h