![]() |
![]() |
#include <usbhost.h>
Data Fields | |
| uint32_t | ulInterfaceClass |
| The interface class that this device class driver supports. | |
| void *(* | pfnOpen )(tUSBHostDevice *pDevice, uint32_t instNum) |
| The function is called when this class of device has been detected. | |
| 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.
| 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.