次の方法で共有


SD_BUS_REQUEST (Windows CE 5.0)

Send Feedback

This structure contains information used to identify a bus request. This information is used to cancel or track a bus request.

typedef struct _SD_BUS_REQUEST {LIST_ENTRYListEntry;
  SD_DEVICE_HANDLEhDevice;
  ULONGSystemFlags;
  SD_TRANSFER_CLASSTransferClass;
  UCHARCommandCode;
  DWORDCommandArgument;
  SD_COMMAND_RESPONSECommandResponse;
  DWORDRequestParam;
  SD_API_STATUSStatus;
  ULONGNumBlocks;
  ULONGBlockSize;
  ULONGHCParam;
  PUCHARpBlockBuffer;
  PSD_BUS_REQUEST_CALLBACKpCallback;
  DWORDDataAccessClocks;
  DWORDFlags;
  DWORDCurrentPermissions;
} SD_BUS_REQUEST, *PSD_BUS_REQUEST;

Members

  • ListEntry
    List entry value.
  • hDevice
    Device that the request belongs to.
  • SystemFlags
    System flags value.
  • TransferClass
    Transfer class.
  • CommandCode
    Command code.
  • CommandArgument
    Command argument.
  • CommandResponse
    Command response.
  • RequestParam
    Optional. Request parameter.
  • Status
    Completion status.
  • NumBlocks
    Number of blocks.
  • BlockSize
    Size of each block, in bytes.
  • HCParam
    Host controller parameter. This value is reserved for host controller devices.
  • pBlockBuffer
    Buffer that holds block data.
  • pCallback
    Callback when the reuqest completes.
  • DataAccessClocks
    Data access clocks for data transfers. This value is reserved for host controller drivers. For a read operation, this value is the typical clock delay for the first read data byte. For a write operation, this value is the typical clock delay for the write operation to finish.
  • Flags
    Bus request flags. The following table shows the possible values for Flags.
    Value Description
    SD_AUTO_ISSUE_CMD12 Informs the bus driver to issue the CMD12 SD command to stop transmission after the bus request completes. This flag should only be used in conjunction to a CMD18 or CMD25 bus request, which requires a CMD12 to instruct the card to stop transmission. The client driver should not use this option on any other command type.
    SD_SDIO_AUTO_IO_ABORT Informs the bus driver to perform the abort I/O procedure, using CMD52, for the I/O function receiving the request. The abort procedure is used in conjunction with CMD53 when the number of blocks in the command argument is set to zero. This value in the command argument instructs the I/O function to transmit or receive data until an I/O abort is issued. The client driver should not use this option on any other command type.
  • CurrrentPermissions
    Current permissions.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: Sdcardddk.h.

See Also

Secure Digital Card Driver Structures

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.