USB Device stack initialization structure.
This structure is passed to USBD_Init() when starting up the device.
Public Attributes#
Pointer to a device descriptor.
Pointer to a configuration descriptor.
Pointer to an array of string descriptor pointers.
Number of strings in string descriptor array.
Pointer to an array defining the size of the endpoint buffers.
Pointer to struct with callbacks (USBD_Callbacks_TypeDef).
Reserved for future use.
Public Attribute Documentation#
deviceDescriptor#
const USB_DeviceDescriptor_TypeDef* USBD_Init_TypeDef::deviceDescriptor
Pointer to a device descriptor.
configDescriptor#
const uint8_t* USBD_Init_TypeDef::configDescriptor
Pointer to a configuration descriptor.
stringDescriptors#
const void* const* USBD_Init_TypeDef::stringDescriptors
Pointer to an array of string descriptor pointers.
numberOfStrings#
const uint8_t USBD_Init_TypeDef::numberOfStrings
Number of strings in string descriptor array.
bufferingMultiplier#
const uint8_t* USBD_Init_TypeDef::bufferingMultiplier
Pointer to an array defining the size of the endpoint buffers.
The size is given in multiples of endpoint size. Generally a value of 1 (single) or 2 (double) buffering should be used.
callbacks#
USBD_Callbacks_TypeDef_Pointer USBD_Init_TypeDef::callbacks
Pointer to struct with callbacks (USBD_Callbacks_TypeDef).
These callbacks are used by the device stack to signal events to or query the application.