Jump to main content

##

# 1.1.7.4.20 DRV_SDSPI_EVENT Enum

## C

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

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

    } DRV_SDSPI_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 or a write request issued by the client.

## Remarks

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_SDSPI_EventHandlerSet function when a request is completed.

## Remarks

Refer sys_media.h for definition of SYS_MEDIA_XXX.