USBD ROM Stack
2.0
ROM based USB device stack
|
USB descriptors data structure. More...
Data Fields | |
uint8_t * | device_desc |
uint8_t * | string_desc |
uint8_t * | full_speed_desc |
uint8_t * | high_speed_desc |
uint8_t * | device_qualifier |
uint8_t * | bos_descriptor |
USB descriptors data structure.
This structure is used as part of USB device stack initialization parameter structure USBD_API_INIT_PARAM_T. This structure contains pointers to various descriptor arrays needed by the stack. These descriptors are reported to USB host as part of enumerations process.
uint8_t* USB_CORE_DESCS_T::device_desc |
Pointer to USB device descriptor
uint8_t* USB_CORE_DESCS_T::string_desc |
Pointer to array of USB string descriptors
uint8_t* USB_CORE_DESCS_T::full_speed_desc |
Pointer to USB device configuration descriptor when device is operating in full speed mode. For High speed capable device this descriptor must be at writeable memory (ex. RAM) and should not be in Read-Only memory (ex. FLASH).
uint8_t* USB_CORE_DESCS_T::high_speed_desc |
Pointer to USB device configuration descriptor when device is operating in high speed mode. For full-speed only implementation this pointer should be same as full_speed_desc. For High speed capable device this descriptor must be at writeable memory (ex. RAM) and should not be in Read-Only memory (ex. FLASH).
uint8_t* USB_CORE_DESCS_T::device_qualifier |
Pointer to USB device qualifier descriptor. For full-speed only implementation this pointer should be set to null (0).
uint8_t* USB_CORE_DESCS_T::bos_descriptor |
Pointer to USB BOS descriptor. For LPM Mode only.