MPLAB Harmony USB Stack
|
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.
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;
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 |
This type is specific to implementation of the USB Device Stack API.
MPLAB Harmony USB Stack
|