USBLibAPIGuide
1.00.00.01
|
#include <usbhost.h>
Data Fields | |
uint32_t | ui32InterfaceClass |
The interface class that this device class driver supports. More... | |
void *(* | pfnOpen )(tUSBHostDevice *psDevice) |
The function is called when this class of device has been detected. More... | |
void(* | pfnClose )(void *pvInstance) |
void(* | pfnIntHandler )(void *pvInstance) |
This structure defines a USB host class driver interface, it is parsed to find a USB class driver once a USB device is enumerated.
uint32_t tUSBHostClassDriver::ui32InterfaceClass |
The interface class that this device class driver supports.
void*(* tUSBHostClassDriver::pfnOpen) (tUSBHostDevice *psDevice) |
The function is called when this class of device has been detected.
void(* tUSBHostClassDriver::pfnClose) (void *pvInstance) |
The function is called when the device, originally opened with a call to the pfnOpen function, is disconnected.
void(* tUSBHostClassDriver::pfnIntHandler) (void *pvInstance) |
This is the optional interrupt handler that will be called when an endpoint associated with this device instance generates an interrupt.