1.1.3.4.27 DRV_MEMORY_EVENT Enum

C

typedef enum
{
    /* Operation has been completed successfully. */
    DRV_MEMORY_EVENT_COMMAND_COMPLETE = SYS_MEDIA_EVENT_BLOCK_COMMAND_COMPLETE,

    /* There was an error during the operation */
    DRV_MEMORY_EVENT_COMMAND_ERROR = SYS_MEDIA_EVENT_BLOCK_COMMAND_ERROR

} DRV_MEMORY_EVENT;

Summary

Identifies the possible events that can result from a request.

Description

This enumeration identifies the possible events that can result from a read, write, erase or erasewrite request caused by the client.

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

Remarks

Refer sys_media.h for SYS_MEDIA_XXX definitions.