USB Libraries Help > USB Host Libraries > USB Audio v1.0 Host Client Driver Library > Library Interface > d) Data Types and Constants > USB_HOST_AUDIO_V1_EVENT Enumeration
MPLAB Harmony USB Stack
USB_HOST_AUDIO_V1_EVENT Enumeration

Audio v1.0 Class Driver Events 

This enumeration identifies the possible events that the Audio v1.0 Class Driver attach event handler can generate. The application should register an event handler using the USB_HOST_AUDIO_V1_AttachEventHandlerSet function to receive Audio v1.0 Class Driver Attach events.

C
typedef enum {
  USB_HOST_AUDIO_V1_EVENT_ATTACH,
  USB_HOST_AUDIO_V1_EVENT_DETACH
} USB_HOST_AUDIO_V1_EVENT;
Members
Members 
Description 
USB_HOST_AUDIO_V1_EVENT_ATTACH 
This event occurs when the Host layer has detected the Audio v1.0 Class Driver instance from a USB Audio v1.0 Device. There is no event data associated with this event. 
USB_HOST_AUDIO_V1_EVENT_DETACH 
This event occurs when host layer has detached the Audio v1.0 Class Driver instance from a USB Audio v1.0 Device. This can happen if the device itself was detached or if the device configuration was changed. There is no event data associated with this event.