Mouse_get_descr(0x01);//获取设备描述符
printf("device\n");
Request.Req.bmRequestType=0x80;
Request.Req.bRequest=0x06;
Request.Req.wValue=0x0100;
Request.Req.wIndex=0x0000;
Request.Req.wLength=0x0012;
if( Mouse_get_descr_ex() == 1 )
{
for(i=0;i!=data_buf[0];i++)
printf("%02x ",(unsigned int)data_buf[i]);
printf("\n");
}
else printf("get device descr failed\n");
/***** 设置地址 *****/
printf("Mouse_set_addr\n");
Mouse_set_addr(5);//设置地址
程序获取设备描述符之后,设置地址中断信号一直为高电平,求助是哪的问题