![]() |
USB Component
Version 6.6
MDK-Professional Middleware for USB Device and Host
|
Structures of USB Host component. More...
Structures | |
| struct | USBH_PIPE |
| USB Host Pipe settings structure. More... | |
| struct | USBH_DEV |
| USB Host Device Instance (DEV) structure. More... | |
| struct | USBH_DEV.state |
| struct | usbHID_MouseState |
| Mouse state information. More... | |
| struct | USB_SETUP_PACKET |
| USB Setup Packet. More... | |
| struct | CDC_LINE_CODING |
| CDC Line Coding structure. More... | |
Structures of USB Host component.
| struct USBH_PIPE |
USB Host Pipe settings structure.
Used in
| struct USBH_DEV |
| Data Fields | ||
|---|---|---|
| uint8_t | cfg_desc_len | Configuration Descriptor Length. |
| uint8_t | class_custom | Class Custom handling. |
| uint8_t | class_driver | Class Driver used. |
| uint8_t | class_instance | Class instance. |
| uint8_t | ctrl | Index of USB Host controller. |
| uint8_t | dev_addr | Device communication Address. |
| uint8_t | dev_desc_len | Device Descriptor Length. |
| uint8_t | dev_speed | Device communication Speed. |
| uint8_t | hub_addr | Hub communication Address. |
| uint8_t | hub_port | Hub communication Port. |
| uint8_t | max_packet_size | Maximum Packet Size. |
| uint8_t | pid | Product ID. |
| osThreadId | recovery_thread_id | Thread ID of thread that activated Recovery. |
| struct USBH_DEV | state | |
| uint8_t | vid | Vendor ID. |
| struct USBH_DEV.state |
| struct usbHID_MouseState |
| struct USB_SETUP_PACKET |
USB Setup Packet.
Used in
Used in
| struct CDC_LINE_CODING |
CDC Line Coding structure.
Format of the data returned when a GetLineCoding request is received (usbcdc11.pdf, 6.2.13)
Used in
Used in
| Data Fields | ||
|---|---|---|
| uint8_t | bCharFormat | Number of stop bits. |
| uint8_t | bDataBits | Number of data bits. |
| uint8_t | bParityType | Parity bit type. |
| uint32_t | dwDTERate | Data terminal rate in bits per second. |