SFFDISK_DCMD enumeration (sffdisk.h)

The SFFDISK_DCMD enumeration identifies the type of Secure Digital (SD) card operation.

Syntax

typedef enum {
  SFFDISK_DC_GET_VERSION,
  SFFDISK_DC_LOCK_CHANNEL,
  SFFDISK_DC_UNLOCK_CHANNEL,
  SFFDISK_DC_DEVICE_COMMAND
} SFFDISK_DCMD;

Constants

 
SFFDISK_DC_GET_VERSION
The operations retrieves the version of the card.
SFFDISK_DC_LOCK_CHANNEL
The operation locks the interface channel.
SFFDISK_DC_UNLOCK_CHANNEL
The operation unlocks the interface channel.
SFFDISK_DC_DEVICE_COMMAND
The operation executes a device command.

Remarks

Applications that submit IOCTL_SFFDISK_DEVICE_COMMAND requests to the SD stack use this enumeration to specify the type of operation. The application must assign one of the values of this enumeration to the Command member of the SFFDISK_DEVICE_COMMAND_DATA structure.

Requirements

Requirement Value
Header sffdisk.h (include Sffdisk.h)

See also

SFFDISK_DEVICE_COMMAND_DATA