1.1.4.8.3 DRV_WM8904_BUFFER_EVENT Enumeration

Identifies the possible events that can result from a buffer add request.

Description

WM8904 Driver Events

This enumeration identifies the possible events that can result from a buffer add request caused by the client calling either the DRV_WM8904_BufferAddWrite() or the DRV_WM8904_BufferAddRead() function.

Remarks

One of these values is passed in the "event" parameter of the event handling callback function that the client registered with the driver by calling the DRV_WM8904_BufferEventHandlerSet function when a buffer transfer request is completed.

C

typedef enum { DRV_WM8904_BUFFER_EVENT_COMPLETE,

DRV_WM8904_BUFFER_EVENT_ERROR,

DRV_WM8904_BUFFER_EVENT_ABORT

} DRV_WM8904_BUFFER_EVENT;