USB_Setup_TypeDef Struct ReferencePlatform Middleware > USB > USB_COMMON
USB Setup request package.
Definition at line
379
of file
em_usb.h
.
#include <
em_usb.h
>
Data Fields |
|
union { | |
struct { | |
union { | |
struct { | |
uint8_t Direction : 1 | |
uint8_t Recipient : 5 | |
uint8_t Type : 2 | |
} | |
uint8_t bmRequestType | |
} | |
uint8_t bRequest | |
uint16_t wIndex | |
uint16_t wLength | |
uint16_t wValue | |
} | |
uint32_t dw [2] | |
}; | |
Field Documentation
uint8_t USB_Setup_TypeDef::bmRequestType |
Request characteristics.
Definition at line
388
of file
em_usb.h
.
Referenced by USBH_ControlMsg() , and USBX_SetupCmdCb() .
uint8_t USB_Setup_TypeDef::bRequest |
Request code.
Definition at line
390
of file
em_usb.h
.
Referenced by CDC_SetupCmd() , HIDKBD_SetupCmd() , MSDD_SetupCmd() , USBH_ControlMsg() , and USBX_SetupCmdCb() .
uint8_t USB_Setup_TypeDef::Direction |
Transfer direction of SETUP data phase.
Definition at line
386
of file
em_usb.h
.
Referenced by CDC_SetupCmd() , HIDKBD_SetupCmd() , and MSDD_SetupCmd() .
uint8_t USB_Setup_TypeDef::Recipient |
Request recipient (device, interface, endpoint or other).
Definition at line
384
of file
em_usb.h
.
Referenced by CDC_SetupCmd() , HIDKBD_SetupCmd() , and MSDD_SetupCmd() .
uint8_t USB_Setup_TypeDef::Type |
Request type (standard, class or vendor).
Definition at line
385
of file
em_usb.h
.
Referenced by CDC_SetupCmd() , HIDKBD_SetupCmd() , MSDD_SetupCmd() , and USBX_SetupCmdCb() .
uint16_t USB_Setup_TypeDef::wIndex |
Index or offset, varies according to request.
Definition at line
392
of file
em_usb.h
.
Referenced by CDC_SetupCmd() , HIDKBD_SetupCmd() , MSDD_SetupCmd() , USBH_ControlMsg() , and USBX_SetupCmdCb() .
uint16_t USB_Setup_TypeDef::wLength |
Number of bytes to transfer if there is a data stage.
Definition at line
393
of file
em_usb.h
.
Referenced by CDC_SetupCmd() , HIDKBD_SetupCmd() , MSDD_SetupCmd() , USBH_ControlMsg() , and USBX_SetupCmdCb() .
uint16_t USB_Setup_TypeDef::wValue |
Varies according to request.
Definition at line
391
of file
em_usb.h
.
Referenced by CDC_SetupCmd() , HIDKBD_SetupCmd() , MSDD_SetupCmd() , USBH_ControlMsg() , and USBX_SetupCmdCb() .
The documentation for this struct was generated from the following file:
-
C:/repos/embsw_super_h1/platform/middleware/usb_gecko/inc/
em_usb.h