SD_TRANSFER_DIRECTION enumeration (sddef.h)

A SD_TRANSFER_DIRECTION value indicates the data transfer direction of a Secure Digital (SD) card command.

Syntax

typedef enum {
  SDTD_UNSPECIFIED,
  SDTD_READ,
  SDTD_WRITE
} SD_TRANSFER_DIRECTION;

Constants

 
SDTD_UNSPECIFIED
The data transfer direction is unspecified.
SDTD_READ
The data transfer is from the SD device to the host.
SDTD_WRITE
The data transfer is from the SD host to the device.

Requirements

Requirement Value
Header sddef.h

See also

SDCMD_DESCRIPTOR