2.2.4.51 USB_DEVICE_FUNCTION_REGISTRATION_TABLE Structure
C
typedef struct {
USB_SPEED speed;
uint8_t configurationValue;
uint8_t interfaceNumber;
uint8_t numberOfInterfaces;
uintptr_t funcDriverIndex;
void * funcDriverInit;
void * driver;
} USB_DEVICE_FUNCTION_REGISTRATION_TABLE;
Summary
USB Device Function Registration Structure
This data type defines the USB Device Function Registration Structure. A table containing entries for each function driver instance should be registered with device layer.
Members
| Members | Description |
| USB_SPEED speed; | Type of speed (high, full or low speed) |
| uint8_t configurationValue; | Configuration Value to which the function driver has to be tied |
| uint8_t interfaceNumber; | Interface number to which this function driver has to be tied |
| uint8_t numberOfInterfaces; | Number of interfaces used by the function |
| uintptr_t funcDriverIndex; | Function driver instance index |
| void * funcDriverInit; | Pointer to a structure that contains function driver initialization data |
| void * driver; | Pointer to a standard structure that exposes function driver APIs to USB device layer |
Remarks
This type is specific to implementation of the USB Device Stack API.
