Custom_hid 官方STM32f10X例程

时间:2021-05-02 17:10:35
【文件属性】:

文件名称:Custom_hid 官方STM32f10X例程

文件大小:224KB

文件格式:ZIP

更新时间:2021-05-02 17:10:35

STM32 KEIL USB HID

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


【文件预览】:
Custom_HID
----TrueSTUDIO()
--------STM32373C-EVAL()
--------STM3210B-EVAL()
--------.metadata()
--------STM32L152-EVAL()
--------STM32303C-EVAL()
--------STM3210E-EVAL()
--------STM32L152D-EVAL()
--------STM3210E-EVAL_XL()
----inc()
--------stm32f30x_conf.h(3KB)
--------stm32_it.h(2KB)
--------usb_pwr.h(2KB)
--------stm32l1xx_conf.h(3KB)
--------stm32f10x_conf.h(3KB)
--------platform_config.h(9KB)
--------stm32f37x_conf.h(3KB)
--------usb_desc.h(3KB)
--------usb_istr.h(3KB)
--------usb_conf.h(4KB)
--------hw_config.h(2KB)
--------usb_prop.h(3KB)
----src()
--------usb_desc.c(13KB)
--------system_stm32f30x.c(14KB)
--------usb_endp.c(4KB)
--------main.c(4KB)
--------usb_istr.c(7KB)
--------system_stm32f37x.c(14KB)
--------hw_config.c(25KB)
--------system_stm32l1xx.c(20KB)
--------stm32_it.c(13KB)
--------system_stm32f10x.c(29KB)
--------usb_pwr.c(9KB)
--------usb_prop.c(16KB)
----MDK-ARM()
--------Custom_HID.uvproj(502KB)
--------Custom_HID.uvopt(81KB)
----TASKING()
--------STM3210B-EVAL()
--------.metadata()
--------STM32303C_EVAL()
--------STM32L152-EVAL()
--------STM3210E-EVAL()
--------STM32373C_EVAL()
--------STM32L152D-EVAL()
--------STM3210E-EVAL_XL()
----RIDE()
--------Custom_HID.rprj(313B)
--------Custom_HID.rapp(82KB)
----EWARM()
--------stm32f37x_flash.icf(1KB)
--------stm32l1xx_flash.icf(1KB)
--------stm32f10x_flash.icf(1KB)
--------Custom_HID.eww(904B)
--------Custom_HID.ewp(189KB)
--------stm32f30x_flash.icf(1KB)
--------Custom_HID.ewd(216KB)
----readme.txt(9KB)

网友评论