1.1.5.5.1 DRV_I2S_BUFFER_EVENT Enumeration

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

Description

I2S Driver Buffer Events

This enumeration identifies the possible events that can result from a buffer add request caused by the client calling either the DRV_I2S_ReadBufferAdd or DRV_I2S_WriteBufferAdd functions.

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_I2S_BufferEventHandlerSet function when a buffer transfer request is completed.

C

typedef enum { DRV_I2S_BUFFER_EVENT_COMPLETE,

DRV_I2S_BUFFER_EVENT_ERROR,

DRV_I2S_BUFFER_EVENT_ABORT

} DRV_I2S_BUFFER_EVENT;