USBLibAPIGuide  1.00.00.01
Data Fields
tUSBHostClassDriver Struct Reference

#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)
 

Detailed Description

This structure defines a USB host class driver interface, it is parsed to find a USB class driver once a USB device is enumerated.

Field Documentation

§ ui32InterfaceClass

uint32_t tUSBHostClassDriver::ui32InterfaceClass

The interface class that this device class driver supports.

§ pfnOpen

void*(* tUSBHostClassDriver::pfnOpen) (tUSBHostDevice *psDevice)

The function is called when this class of device has been detected.

§ pfnClose

void(* tUSBHostClassDriver::pfnClose) (void *pvInstance)

The function is called when the device, originally opened with a call to the pfnOpen function, is disconnected.

§ pfnIntHandler

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.


The documentation for this struct was generated from the following file:
© Copyright 1995-2020, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale