![]() |
![]() |
#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. More... | |
| tUSBIntHandler | pfnSuspendHandler |
| tUSBIntHandler | pfnResumeHandler |
| This is called when resume signaling is detected. More... | |
| tUSBIntHandler | pfnDisconnectHandler |
| This callback is made when the device is disconnected from the USB bus. More... | |
| tUSBEPIntHandler | pfnEndpointHandler |
| tUSBDeviceHandler | pfnDeviceHandler |
USB event handler functions used during enumeration and operation of the device stack.
| tStdRequest tCustomHandlers::pfnGetDescriptor |
This callback is made whenever the USB host requests a non-standard descriptor from the device.
| tStdRequest tCustomHandlers::pfnRequestHandler |
This callback is made whenever the USB host makes a non-standard request.
| tInterfaceCallback tCustomHandlers::pfnInterfaceChange |
This callback is made in response to a SetInterface request from the host.
| 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.
| tUSBIntHandler tCustomHandlers::pfnResetHandler |
This callback is made when a USB reset is detected.
Referenced by USBDeviceEnumResetHandler().
| tUSBIntHandler tCustomHandlers::pfnSuspendHandler |
This callback is made when the bus has been inactive long enough to trigger a suspend condition.
Referenced by USBDeviceIntHandlerInternal().
| tUSBIntHandler tCustomHandlers::pfnResumeHandler |
This is called when resume signaling is detected.
Referenced by USBDeviceIntHandlerInternal(), and USBDeviceResumeTickHandler().
| tUSBIntHandler tCustomHandlers::pfnDisconnectHandler |
This callback is made when the device is disconnected from the USB bus.
Referenced by USBDeviceIntHandlerInternal().
| tUSBEPIntHandler tCustomHandlers::pfnEndpointHandler |
This callback is made to inform the device of activity on all endpoints other than endpoint zero.
Referenced by USBDeviceIntHandlerInternal().
| 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.
Referenced by USBDeviceIntHandlerInternal().