USB Component  Version 6.13.6
MDK Middleware for USB Device and Host Communication
 All Data Structures Functions Variables Enumerations Enumerator Groups Pages
Structures

Structures of USB Host component. More...

Structures

struct  USBH_PIPE
 
struct  USBH_DEV
 
struct  usbHID_MouseState
 Mouse state information. More...
 
struct  USBD_STATE
 
struct  USB_SETUP_PACKET
 USB Setup Packet. More...
 
struct  CDC_LINE_CODING
 CDC Line Coding structure. More...
 

Description

Structures of USB Host component.


Data Structure Documentation

struct USBH_DEV

Used in

struct usbHID_MouseState

Mouse state information.

Used in

Data Fields
uint8_t button Current button states.
uint8_t reserved Reserved byte (for alignment)
int16_t x Absolute X position change.
int16_t y Absolute Y position change.
struct USBD_STATE

Used in

Data Fields
uint32_t active: 1 USB Device bus activity.
uint32_t speed: 2 USB Device enumerated speed (USB_SPEED_LOW, USB_SPEED_FULL or USB_SPEED_HIGH)
uint32_t vbus: 1 USB Device VBUS state.
struct USB_SETUP_PACKET

USB Setup Packet.

Used in

Used in

Data Fields
USB_REQUEST_TYPE bmRequestType Characteristics of request.
uint8_t bRequest Specific request.
uint16_t wIndex Index or Offset according to request.
uint16_t wLength Number of bytes to transfer if there is a Data stage.
uint16_t wValue Value according to request.
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.