USB Component
Version 6.17.0
MDK Middleware for USB Device and Host Communication
|
Data Types used by USB Host component. More...
Structures | |
struct | usbHID_MouseState |
Mouse State structure. More... | |
struct | CDC_LINE_CODING |
CDC Line Coding structure. More... | |
struct | USB_DEVICE_DESCRIPTOR |
USB Device Descriptor structure. More... | |
struct | USB_CONFIGURATION_DESCRIPTOR |
USB Configuration Descriptor structure. More... | |
struct | USB_SETUP_PACKET |
USB Setup Packet structure. More... | |
Typedefs | |
typedef uint32_t | USBH_PIPE_HANDLE |
typedef void(* | USBH_PipeEvent_t) (uint32_t event, const uint8_t *buf, uint32_t len) |
Pointer to USB Host Pipe Event callback function. More... | |
Enumerations | |
enum | USBH_NOTIFY { USBH_NOTIFY_CONNECT = 0U , USBH_NOTIFY_DISCONNECT , USBH_NOTIFY_OVERCURRENT , USBH_NOTIFY_REMOTE_WAKEUP , USBH_NOTIFY_READY , USBH_NOTIFY_UNKNOWN_DEVICE , USBH_NOTIFY_INSUFFICIENT_POWER , USBH_NOTIFY_CONFIGURATION_FAILED , USBH_NOTIFY_INITIALIZATION_FAILED } |
USB Host Notification enumerated constants. More... | |
Data Types used by USB Host component.
struct usbHID_MouseState |
struct CDC_LINE_CODING |
CDC Line Coding structure.
Used in
Used in
Data Fields | ||
---|---|---|
uint32_t | dwDTERate | Data terminal rate in bits per second. |
uint8_t | bCharFormat | Number of stop bits. |
uint8_t | bParityType | Parity bit type. |
uint8_t | bDataBits | Number of data bits. |
struct USB_DEVICE_DESCRIPTOR |
struct USB_CONFIGURATION_DESCRIPTOR |
struct USB_SETUP_PACKET |
USB Setup Packet structure.
Used in
Used in
typedef uint32_t USBH_PIPE_HANDLE |
USB Host Pipe Handle
Used in
typedef void(* USBH_PipeEvent_t)(uint32_t event, const uint8_t *buf, uint32_t len) |
Pointer to USB Host Pipe Event callback function.
The argument event specifies the pipe event that happened (as specified by the CMSIS Driver USB Host specification).
The argument buf specifies the start of data buffer used for transfer.
The argument len specifies the number of data bytes successfully transferred (in bytes).
Used in
enum USBH_NOTIFY |
USB Host Notification enumerated constants.