2022年11月4日

摘要: static void MX_GPIO_Init(void){ GPIO_InitTypeDef GPIO_InitStruct = {0}; GPIO_InitStruct.Pin = GPIO_PIN_13;//³õʼ»¯LED0 GPIO_InitStruct.Mode = GPIO_MOD 阅读全文
posted @ 2022-11-04 21:02 lydstory 阅读(30) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/jiangzhaowei/p/9264365.html stm32 __attribute__ 字节对齐在哪里设置 单片机都是1字节对齐吗? 高手回答:对,packed就是一个字节对齐 第一个字节要reportid 阅读全文
posted @ 2022-11-04 18:26 lydstory 阅读(271) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-11-04 09:40 lydstory 阅读(28) 评论(0) 推荐(0)
摘要: USAGE_PAGE (Alphanumeric Display) 05 14USAGE (Bitmapped Display) 09 02COLLECTION (Application) A1 01 USAGE (Display Attributes Report) 09 20 COLLECTIO 阅读全文
posted @ 2022-11-04 09:19 lydstory 阅读(52) 评论(0) 推荐(0)
摘要: 这个地方就是处理pc 往设备发数据的 注意out 是从pc 往设备in 是从设备往pc 就是接受后简单写一下led 阅读全文
posted @ 2022-11-04 09:08 lydstory 阅读(113) 评论(0) 推荐(0)
摘要: /** Usb HID report descriptor. */__ALIGN_BEGIN static uint8_t CUSTOM_HID_ReportDesc_FS[USBD_CUSTOM_HID_REPORT_DESC_SIZE] __ALIGN_END ={0x06, 0x00, 0xF 阅读全文
posted @ 2022-11-04 08:43 lydstory 阅读(109) 评论(0) 推荐(0)
摘要: patch、 这是f407 代码生成和最终版本之间的比较,请参考 改vid/pid, 改reporter 改dfu 模式 接收到以后用led 调试接果 以及在main 里面定时发送数据 阅读全文
posted @ 2022-11-04 08:20 lydstory 阅读(27) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-11-04 07:48 lydstory 阅读(20) 评论(0) 推荐(0)
摘要: https://www.wch.cn/products/categories/22.html?pid=1#data 阅读全文
posted @ 2022-11-04 07:09 lydstory 阅读(32) 评论(0) 推荐(0)
摘要: /***************************************************************************************函数名称:HID报告描述符****函数作用:****函数描述:******************************* 阅读全文
posted @ 2022-11-04 07:05 lydstory 阅读(198) 评论(0) 推荐(0)
摘要: MC9128 飞思卡尔 MC9128 飞思卡尔 单片机大赛 阅读全文
posted @ 2022-11-04 05:20 lydstory 阅读(10) 评论(0) 推荐(0)
摘要: dfu-util 阅读全文
posted @ 2022-11-04 04:32 lydstory 阅读(42) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-11-04 01:52 lydstory 阅读(11) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-11-04 01:04 lydstory 阅读(43) 评论(0) 推荐(0)

导航