关于SDIO设备设置clock
各位,我想设置SDIO的clock。以下是ntddsd.h中的一段。
//
// Definitions for properties used in Get/Set Property requests
//
// The bus driver version where any given property was introduced is
// indicated as a comment to the right of the property. Note that the
// property to retrieve the version was not introduced until v2.0.
// Callers can determine the bus driver is at version 1.0 by looking
// for a STATUS_INVALID_PARAMETER return from an get property call on
// SDP_BUS_DRIVER_VERSION.
//
typedef enum {
SDP_MEDIA_CHANGECOUNT = 0, // v1.0 ULONG
SDP_MEDIA_STATE, // v1.0 SDPROP_MEDIA_STATE
SDP_WRITE_PROTECTED, // v1.0 BOOLEAN
SDP_FUNCTION_NUMBER, // v1.0 UCHAR
SDP_FUNCTION_TYPE, // v2.0 SDBUS_FUNCTION_TYPE
SDP_BUS_DRIVER_VERSION, // v2.0 USHORT
SDP_BUS_WIDTH, // v2.0 UCHAR
SDP_BUS_CLOCK, // v2.0 ULONG
SDP_BUS_INTERFACE_CONTROL, // v2.0 UCHAR
SDP_HOST_BLOCK_LENGTH, // v2.0 USHORT
SDP_FUNCTION_BLOCK_LENGTH, // v2.0 USHORT
SDP_FN0_BLOCK_LENGTH, // v2.0 USHORT
SDP_FUNCTION_INT_ENABLE, // v2.0 BOOLEAN
} SDBUS_PROPERTY;
我的SDP_BUS_CLOCK,SDP_BUS_WIDTH,SDP_BUS_DRIVER_VERSION都没有请求成功。但 SDP_FUNCTION_NUMBER请求成功。我不太明白这里的1.0和2.0是什么意思,是不是我的host controller是1.0的,怎么改成2.0的。我怎么设置SDIO设备的clock呢??
谢谢!!