Jump to main content

##

# 1.1.6.4.13 DRV_SDMMC_COMMAND_HANDLE Typedef

## C

    typedef SYS_MEDIA_BLOCK_COMMAND_HANDLE DRV_SDMMC_COMMAND_HANDLE;

## Summary

Handle identifying commands queued in the driver.

## Description

A command handle is returned by a call to the Read or Write functions. This handle allows the application to track the completion of the operation. This command handle is also returned to the client along with the event that has occurred with respect to the command. This allows the application to connect the event to a specific command in case where multiple commands are queued.

The command handle associated with the command request expires when the client has been notified of the completion of the command (after event handler function that notifies the client returns) or after the command has been retired by the driver if no event handler callback was set.

## Remarks

Refer sys_media.h for definition of SYS_MEDIA_BLOCK_COMMAND_HANDLE..