hid 设备能发送多少字节stm
答案:1 悬赏:10 手机版
解决时间 2021-11-17 17:46
- 提问者网友:皆是孤独
- 2021-11-16 21:57
hid 设备能发送多少字节stm
最佳答案
- 五星知识达人网友:长青诗
- 2021-11-16 22:13
0x09,0x03, // USAGE ID - Vendor defined
0x15,0x00, // LOGICAL_MINIMUM (0)
0x26,0x00, 0xFF, // LOGICAL_MAXIMUM (255)
0x75,0x08, // REPORT_SIZE (8)
0x95,0x08, // REPORT_COUNT (20)
0x81,0x02, // INPUT (Data,Var,Abs)
//19
// The Output report
0x09,0x04, // USAGE ID - Vendor defined
0x15,0x00, // LOGICAL_MINIMUM (0)
0x26,0x00,0xFF, // LOGICAL_MAXIMUM (255)
0x75,0x08, // REPORT_SIZE (8)
0x95,0x08, // REPORT_COUNT (20)
0x91,0x02, // OUTPUT (Data,Var,Abs)
UserToPMABufferCopy(Transi_Buffer, ENDP2_TXADDR, 8);
SetEPTxValid(ENDP2);
0x15,0x00, // LOGICAL_MINIMUM (0)
0x26,0x00, 0xFF, // LOGICAL_MAXIMUM (255)
0x75,0x08, // REPORT_SIZE (8)
0x95,0x08, // REPORT_COUNT (20)
0x81,0x02, // INPUT (Data,Var,Abs)
//19
// The Output report
0x09,0x04, // USAGE ID - Vendor defined
0x15,0x00, // LOGICAL_MINIMUM (0)
0x26,0x00,0xFF, // LOGICAL_MAXIMUM (255)
0x75,0x08, // REPORT_SIZE (8)
0x95,0x08, // REPORT_COUNT (20)
0x91,0x02, // OUTPUT (Data,Var,Abs)
UserToPMABufferCopy(Transi_Buffer, ENDP2_TXADDR, 8);
SetEPTxValid(ENDP2);
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯