Share via


SD_HOST_BLOCK_CAPABILITY (Compact 2013)

3/26/2014

This structure compares the block transfer capabilities of the host against a set of desired block transfer capabilities. The client driver should set the fields in this structure with the desired read and write block transfer parameters and check the values when the SDCardInfoQuery function returns. The query will update the block transfer parameters with values that closely match the desired parameters. The actual block transfer capabilities is host controller dependent.

Syntax

typedef struct _SD_HOST_BLOCK_CAPABILITY {
  USHORT ReadBlockSize;
  USHORT WriteBlockSize;
  USHORT ReadBlocks;
  USHORT WriteBlocks;
} SD_HOST_BLOCK_CAPABILITY, *PSD_HOST_BLOCK_CAPABILITY;

Members

  • ReadBlockSize
    Desired block size for read data transfers, in bytes.
  • WriteBlockSize
    Desired block size for write data transfers, in bytes.
  • ReadBlocks
    Number of blocks to transfer in a multi-block read data transfer.
  • WriteBlocks
    Number of blocks to transfer in a multi-block write data transfer.

Requirements

Header

sdcardddk.h

See Also

Reference

Secure Digital (SD) Card Driver Structures