Partager via


SD_CARD_SWITCH_FUNCTION (Compact 2013)

3/26/2014

This structure is used to set and get the switch function.

Syntax

typedef struct _SD_CARD_SWITCH_FUNCTION{
  DWORD dwSelectedFunction;
  DWORD dwMaxCurrentAllowed;
  DWORD dwTimeOut;
  BYTE clientData[512/8];
}SD_CARD_SWITCH_FUNCTION, *PSD_CARD_SWITCH_FUNCTION;

Members

  • dwSelectedFunction
    Indicates the selected function. There are 6 function groups and each one has 4 bits.
  • dwMaxCurrentAllowed
    Maximum current allowed, in mA, for switch to new function.
  • dwTimeOut
    Time, in milliseconds (ms), before the select operation times out.
  • clientData
    Client data provided by the switch function.

Requirements

Header

sdcardddk.h

See Also

Reference

Secure Digital (SD) Card Driver Structures