阅读:1439回复:4
描述符中有关电流的配置怎么更改?
CFG_LENGTH, /*length of this desc. */
CONFIGURATION, /*CONFIGURATION descriptor*/ 0x22,0x00, /*total length returned */ 0x01, /*number of interfaces */ 0x01, /*number of this config */ CFG_STR_OFS, /*index of config. string */ ATTRIBUTES, /*attr.: bus powered */ 50, /*max power (100 mA) 想把电流增至500mA应该怎么设置? |
|
沙发#
发布于:2002-08-23 18:18
CFG_LENGTH, /*length of this desc. */
CONFIGURATION, /*CONFIGURATION descriptor*/ 0x22,0x00, /*total length returned */ 0x01, /*number of interfaces */ 0x01, /*number of this config */ CFG_STR_OFS, /*index of config. string */ ATTRIBUTES, /*attr.: bus powered */ 50, /*max power (100 mA) | ------> Change this value to 250(0xFA) |
|
|
板凳#
发布于:2002-08-25 08:40
有这方面的资料说明吗?
|
|
地板#
发布于:2002-08-25 09:19
《USB大全》和USB协议上都有!
|
|
地下室#
发布于:2002-09-29 10:55
|
|