Custom_hid 官方STM32f10X例程

上传者: gudu____ | 上传时间: 2020-01-03 11:21:05 | 文件大小: 224KB | 文件类型: zip
Example description =================== This Demo provides a description of how to use the USB-FS-Device on the STM32F10xxx, STM32F37xxx, STM32F30xxx and STM32L15xxx devices. The STM32 device is enumerated as HID compliant device, that uses the native PC Host USB-FS-Device HID driver. To test the example, you need to: 1)- Start the "USB HID Demonstrator" PC applet and connect STM32 USB to PC 2)- The device should be detected and shown in the USB HID target box 3)- Press Graphic View button 4)- You can Select "use SET_FEATURE" or "use SET_REPORT" in order to use SET_REPORT request to send HID Report for LED control 5)- Make sure that following report ID are configured: LED1 ID (0x1) , LED2 ID(0x2), LED3 ID(0x3), LED4 ID(0x4), and BUTTON1_ID(0x5) 6)- Select Leds to switch on/off on the EVAL board => a SET_REPORT request will be sent More details about this Demo implementation is given in the User manual "UM0424 STM32F10xxx USB development kit", available for download from the ST microcontrollers website: www.st.com/stm32

文件下载

资源详情

[{"title":"( 99 个子文件 224KB ) Custom_hid 官方STM32f10X例程","children":[{"title":"Custom_HID","children":[{"title":"TrueSTUDIO","children":[{"title":"STM32373C-EVAL","children":[{"title":"STM32F373VC_FLASH.ld <span style='color:#111;'> 4.69KB </span>","children":null,"spread":false},{"title":".settings","children":[{"title":"com.atollic.truestudio.debug.hardware_device.prefs <span style='color:#111;'> 266B </span>","children":null,"spread":false}],"spread":true},{"title":".project <span style='color:#111;'> 10.86KB </span>","children":null,"spread":false},{"title":".cproject <span style='color:#111;'> 23.67KB </span>","children":null,"spread":false},{"title":"STM32373C-EVAL.elf.launch <span style='color:#111;'> 4.97KB </span>","children":null,"spread":false}],"spread":true},{"title":"STM3210B-EVAL","children":[{"title":"stm32_flash.ld <span style='color:#111;'> 4.84KB </span>","children":null,"spread":false},{"title":"STM3210B-EVAL.elf.launch <span style='color:#111;'> 5.10KB </span>","children":null,"spread":false},{"title":".settings","children":[{"title":"com.atollic.truestudio.debug.hardware_device.prefs <span style='color:#111;'> 293B </span>","children":null,"spread":false}],"spread":true},{"title":".project <span style='color:#111;'> 7.84KB </span>","children":null,"spread":false},{"title":".cproject <span style='color:#111;'> 19.59KB </span>","children":null,"spread":false}],"spread":true},{"title":".metadata","children":null,"spread":false},{"title":"STM32L152-EVAL","children":[{"title":"stm32_flash.ld <span style='color:#111;'> 4.85KB </span>","children":null,"spread":false},{"title":"STM32L152-EVAL.elf.launch <span style='color:#111;'> 5.10KB </span>","children":null,"spread":false},{"title":".settings","children":[{"title":"com.atollic.truestudio.debug.hardware_device.prefs <span style='color:#111;'> 294B </span>","children":null,"spread":false}],"spread":true},{"title":".project <span style='color:#111;'> 8.06KB </span>","children":null,"spread":false},{"title":".cproject <span style='color:#111;'> 19.59KB </span>","children":null,"spread":false}],"spread":true},{"title":"STM32303C-EVAL","children":[{"title":"STM32303C-EVAL.elf.launch <span style='color:#111;'> 4.97KB </span>","children":null,"spread":false},{"title":"STM32F303VC_FLASH.ld <span style='color:#111;'> 5.20KB </span>","children":null,"spread":false},{"title":".settings","children":[{"title":"com.atollic.truestudio.debug.hardware_device.prefs <span style='color:#111;'> 266B </span>","children":null,"spread":false}],"spread":true},{"title":".project <span style='color:#111;'> 10.66KB </span>","children":null,"spread":false},{"title":".cproject <span style='color:#111;'> 23.66KB </span>","children":null,"spread":false}],"spread":true},{"title":"STM3210E-EVAL","children":[{"title":"stm32_flash.ld <span style='color:#111;'> 4.84KB </span>","children":null,"spread":false},{"title":"STM3210E-EVAL.elf.launch <span style='color:#111;'> 5.10KB </span>","children":null,"spread":false},{"title":".settings","children":[{"title":"com.atollic.truestudio.debug.hardware_device.prefs <span style='color:#111;'> 293B </span>","children":null,"spread":false}],"spread":true},{"title":".project <span style='color:#111;'> 7.98KB </span>","children":null,"spread":false},{"title":".cproject <span style='color:#111;'> 23.90KB </span>","children":null,"spread":false}],"spread":true},{"title":"STM32L152D-EVAL","children":[{"title":"stm32_flash.ld <span style='color:#111;'> 4.83KB </span>","children":null,"spread":false},{"title":"STM32L152D-EVAL.elf.launch <span style='color:#111;'> 5.10KB </span>","children":null,"spread":false},{"title":".settings","children":[{"title":"com.atollic.truestudio.debug.hardware_device.prefs <span style='color:#111;'> 295B </span>","children":null,"spread":false}],"spread":true},{"title":".project <span style='color:#111;'> 8.06KB </span>","children":null,"spread":false},{"title":".cproject <span style='color:#111;'> 19.60KB </span>","children":null,"spread":false}],"spread":true},{"title":"STM3210E-EVAL_XL","children":[{"title":"stm32_flash.ld <span style='color:#111;'> 4.83KB </span>","children":null,"spread":false},{"title":".settings","children":[{"title":"com.atollic.truestudio.debug.hardware_device.prefs <span style='color:#111;'> 296B </span>","children":null,"spread":false}],"spread":true},{"title":".project <span style='color:#111;'> 7.84KB </span>","children":null,"spread":false},{"title":".cproject <span style='color:#111;'> 19.42KB </span>","children":null,"spread":false},{"title":"STM32F10X_XL.elf.launch <span style='color:#111;'> 5.11KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"inc","children":[{"title":"stm32f30x_conf.h <span style='color:#111;'> 3.25KB </span>","children":null,"spread":false},{"title":"stm32_it.h <span style='color:#111;'> 2.19KB </span>","children":null,"spread":false},{"title":"usb_pwr.h <span style='color:#111;'> 2.40KB </span>","children":null,"spread":false},{"title":"stm32l1xx_conf.h <span style='color:#111;'> 3.21KB </span>","children":null,"spread":false},{"title":"stm32f10x_conf.h <span style='color:#111;'> 3.48KB </span>","children":null,"spread":false},{"title":"platform_config.h <span style='color:#111;'> 8.66KB </span>","children":null,"spread":false},{"title":"stm32f37x_conf.h <span style='color:#111;'> 3.28KB </span>","children":null,"spread":false},{"title":"usb_desc.h <span style='color:#111;'> 3.17KB </span>","children":null,"spread":false},{"title":"usb_istr.h <span style='color:#111;'> 2.76KB </span>","children":null,"spread":false},{"title":"usb_conf.h <span style='color:#111;'> 3.63KB </span>","children":null,"spread":false},{"title":"hw_config.h <span style='color:#111;'> 2.29KB </span>","children":null,"spread":false},{"title":"usb_prop.h <span style='color:#111;'> 3.28KB </span>","children":null,"spread":false}],"spread":false},{"title":"src","children":[{"title":"usb_desc.c <span style='color:#111;'> 13.28KB </span>","children":null,"spread":false},{"title":"system_stm32f30x.c <span style='color:#111;'> 13.73KB </span>","children":null,"spread":false},{"title":"usb_endp.c <span style='color:#111;'> 3.73KB </span>","children":null,"spread":false},{"title":"main.c <span style='color:#111;'> 3.64KB </span>","children":null,"spread":false},{"title":"usb_istr.c <span style='color:#111;'> 6.66KB </span>","children":null,"spread":false},{"title":"system_stm32f37x.c <span style='color:#111;'> 13.65KB </span>","children":null,"spread":false},{"title":"hw_config.c <span style='color:#111;'> 24.72KB </span>","children":null,"spread":false},{"title":"system_stm32l1xx.c <span style='color:#111;'> 19.70KB </span>","children":null,"spread":false},{"title":"stm32_it.c <span style='color:#111;'> 13.40KB </span>","children":null,"spread":false},{"title":"system_stm32f10x.c <span style='color:#111;'> 28.85KB </span>","children":null,"spread":false},{"title":"usb_pwr.c <span style='color:#111;'> 9.44KB </span>","children":null,"spread":false},{"title":"usb_prop.c <span style='color:#111;'> 16.23KB </span>","children":null,"spread":false}],"spread":false},{"title":"MDK-ARM","children":[{"title":"Custom_HID.uvproj <span style='color:#111;'> 501.90KB </span>","children":null,"spread":false},{"title":"Custom_HID.uvopt <span style='color:#111;'> 80.51KB </span>","children":null,"spread":false}],"spread":true},{"title":"TASKING","children":[{"title":"STM3210B-EVAL","children":[{"title":"STM3210B-EVAL.launch <span style='color:#111;'> 3.36KB </span>","children":null,"spread":false},{"title":".project <span style='color:#111;'> 6.70KB </span>","children":null,"spread":false},{"title":".cproject <span style='color:#111;'> 12.46KB </span>","children":null,"spread":false},{"title":"TASKING","children":[{"title":"STM32F10x_md.lsl <span style='color:#111;'> 8.59KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".metadata","children":[{"title":"Link","children":null,"spread":false}],"spread":true},{"title":"STM32303C_EVAL","children":[{"title":".project <span style='color:#111;'> 6.86KB </span>","children":null,"spread":false},{"title":".cproject <span style='color:#111;'> 10.79KB </span>","children":null,"spread":false},{"title":"STM32303C_EVAL.launch <span style='color:#111;'> 3.45KB </span>","children":null,"spread":false},{"title":"TASKING","children":[{"title":"stm32f30x.lsl <span style='color:#111;'> 13.64KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"STM32L152-EVAL","children":[{"title":".project <span style='color:#111;'> 6.91KB </span>","children":null,"spread":false},{"title":".cproject <span style='color:#111;'> 12.67KB </span>","children":null,"spread":false},{"title":"STM32L152-EVAL.launch <span style='color:#111;'> 3.36KB </span>","children":null,"spread":false},{"title":"TASKING","children":[{"title":"stm32l1xx_md.lsl <span style='color:#111;'> 8.75KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"STM3210E-EVAL","children":[{"title":"STM3210E-EVAL.launch <span style='color:#111;'> 4.03KB </span>","children":null,"spread":false},{"title":".project <span style='color:#111;'> 6.88KB </span>","children":null,"spread":false},{"title":".cproject <span style='color:#111;'> 12.77KB </span>","children":null,"spread":false},{"title":"TASKING","children":[{"title":"STM32F10x_hd.lsl <span style='color:#111;'> 10.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"STM32373C_EVAL","children":[{"title":"STM32373C_EVAL.launch <span style='color:#111;'> 3.45KB </span>","children":null,"spread":false},{"title":".project <span style='color:#111;'> 7.08KB </span>","children":null,"spread":false},{"title":".cproject <span style='color:#111;'> 11.77KB </span>","children":null,"spread":false},{"title":"TASKING","children":[{"title":"stm32f37x.lsl <span style='color:#111;'> 13.10KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"STM32L152D-EVAL","children":[{"title":".project <span style='color:#111;'> 7.13KB </span>","children":null,"spread":false},{"title":".cproject <span style='color:#111;'> 12.68KB </span>","children":null,"spread":false},{"title":"STM32L152D-EVAL.launch <span style='color:#111;'> 4.03KB </span>","children":null,"spread":false},{"title":"TASKING","children":[{"title":"stm32l1xx_hd.lsl <span style='color:#111;'> 11.65KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"STM3210E-EVAL_XL","children":[{"title":"STM3210E-EVAL_XL.launch <span style='color:#111;'> 3.37KB </span>","children":null,"spread":false},{"title":".project <span style='color:#111;'> 6.89KB </span>","children":null,"spread":false},{"title":".cproject <span style='color:#111;'> 12.77KB </span>","children":null,"spread":false},{"title":"TASKING","children":[{"title":"STM32F10x_XL.lsl <span style='color:#111;'> 10.50KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"RIDE","children":[{"title":"Custom_HID.rprj <span style='color:#111;'> 313B </span>","children":null,"spread":false},{"title":"Custom_HID.rapp <span style='color:#111;'> 81.88KB </span>","children":null,"spread":false}],"spread":true},{"title":"EWARM","children":[{"title":"stm32f37x_flash.icf <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false},{"title":"stm32l1xx_flash.icf <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"stm32f10x_flash.icf <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"Custom_HID.eww <span style='color:#111;'> 904B </span>","children":null,"spread":false},{"title":"Custom_HID.ewp <span style='color:#111;'> 189.12KB </span>","children":null,"spread":false},{"title":"stm32f30x_flash.icf <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"Custom_HID.ewd <span style='color:#111;'> 216.09KB </span>","children":null,"spread":false}],"spread":true},{"title":"readme.txt <span style='color:#111;'> 8.54KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明