MPLAB Harmony USB Stack
|
This function will set an attach event handler. The attach event handler will be called when a Audio v1.0 device has been attached or detached. The context will be returned in the event handler. This function should be called before the bus has been enabled.
#define USB_HOST_AUDIO_V1_0_AttachEventHandlerSet USB_HOST_AUDIO_V1_AttachEventHandlerSet
None.
Parameters |
Description |
eventHandler |
Pointer to the attach event handler |
context |
An application defined context that will be returned in the event handler |
successfully
handlers has exceeded USB_HOST_AUDIO_V1_0_ATTACH_LISTENERS_NUMBER
This function should be called before the USB_HOST_BusEnable function is called.
MPLAB Harmony USB Stack
|