EFM32 Happy Gecko Software Documentation  efm32hg-doc-5.1.2
USBD_Init_TypeDef Struct Reference

Detailed Description

USB Device stack initialization structure.

This structure is passed to USBD_Init() when starting up the device.

Definition at line 776 of file em_usb.h.

#include <em_usb.h>

Data Fields

const uint8_t * bufferingMultiplier
 
USBD_Callbacks_TypeDef_Pointer callbacks
 
const uint8_t * configDescriptor
 
const USB_DeviceDescriptor_TypeDefdeviceDescriptor
 
const uint8_t numberOfStrings
 
const uint32_t reserved
 
const void *const * stringDescriptors
 

Field Documentation

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.

Definition at line 782 of file em_usb.h.

Referenced by USBD_Init().

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.

Definition at line 787 of file em_usb.h.

Referenced by USBD_Init().

const uint8_t* USBD_Init_TypeDef::configDescriptor

Pointer to a configuration descriptor.

Definition at line 779 of file em_usb.h.

Referenced by USBD_Init().

const USB_DeviceDescriptor_TypeDef* USBD_Init_TypeDef::deviceDescriptor

Pointer to a device descriptor.

Definition at line 778 of file em_usb.h.

Referenced by USBD_Init(), and USBX_init().

const uint8_t USBD_Init_TypeDef::numberOfStrings

Number of strings in string descriptor array.

Definition at line 781 of file em_usb.h.

Referenced by USBD_Init().

const uint32_t USBD_Init_TypeDef::reserved

Reserved for future use.

Definition at line 791 of file em_usb.h.

const void* const* USBD_Init_TypeDef::stringDescriptors

Pointer to an array of string descriptor pointers.

Definition at line 780 of file em_usb.h.

Referenced by USBD_Init().


The documentation for this struct was generated from the following file: