Data Fields
tCustomHandlers Struct Reference

#include <usblib.h>

Data Fields

tStdRequest pfnGetDescriptor
 
tStdRequest pfnRequestHandler
 
tInterfaceCallback pfnInterfaceChange
 
tInfoCallback pfnConfigChange
 
tInfoCallback pfnDataReceived
 
tInfoCallback pfnDataSent
 
tUSBIntHandler pfnResetHandler
 This callback is made when a USB reset is detected.
 
tUSBIntHandler pfnSuspendHandler
 
tUSBIntHandler pfnResumeHandler
 This is called when resume signaling is detected.
 
tUSBIntHandler pfnDisconnectHandler
 This callback is made when the device is disconnected from the USB bus.
 
tUSBEPIntHandler pfnEndpointHandler
 
tUSBDeviceHandler pfnDeviceHandler
 

Detailed Description

USB event handler functions used during enumeration and operation of the device stack.

Field Documentation

tInfoCallback tCustomHandlers::pfnConfigChange

This callback is made in response to a SetConfiguration request from the host.

tInfoCallback tCustomHandlers::pfnDataReceived

This callback is made when data has been received following to a call to USBDCDRequestDataEP0.

tInfoCallback tCustomHandlers::pfnDataSent

This callback is made when data has been transmitted following a call to USBDCDSendDataEP0.

tUSBDeviceHandler tCustomHandlers::pfnDeviceHandler

This generic handler is provided to allow requests based on a given instance to be passed into a device. This is commonly used by a top level composite device that is using multiple instances of a class.

tUSBEPIntHandler tCustomHandlers::pfnEndpointHandler

This callback is made to inform the device of activity on all endpoints other than endpoint zero.

tStdRequest tCustomHandlers::pfnGetDescriptor

This callback is made whenever the USB host requests a non-standard descriptor from the device.

tInterfaceCallback tCustomHandlers::pfnInterfaceChange

This callback is made in response to a SetInterface request from the host.

tStdRequest tCustomHandlers::pfnRequestHandler

This callback is made whenever the USB host makes a non-standard request.

tUSBIntHandler tCustomHandlers::pfnSuspendHandler

This callback is made when the bus has been inactive long enough to trigger a suspend condition.


The documentation for this struct was generated from the following file:

Copyright 2016, Texas Instruments Incorporated