Exampledescription===================ThisDemoprovidesadescriptionofhowtousetheUSB-FS-DeviceontheSTM32F10xxx,STM32F37xxx,STM32F30xxxandSTM32L15xxxdevices.TheSTM32deviceisenumeratedasHIDcompliantdevice,thatusesthenativePCHostUSB-FS-DeviceHIDdriver.Totesttheexample,youneedto:1)-Startthe"USBHIDDemonstrator"PCappletandconnectSTM32USBtoPC2)-ThedeviceshouldbedetectedandshownintheUSBHIDtargetbox3)-PressGraphicViewbutton4)-YoucanSelect"useSET_FEATURE"or"useSET_REPORT"inordertouseSET_REPORTrequesttosendHIDReportforLEDcontrol5)-MakesurethatfollowingreportIDareconfigured:LED1ID(0x1),LED2ID(0x2),LED3ID(0x3),LED4ID(0x4),andBUTTON1_ID(0x5)6)-SelectLedstoswitchon/offontheEVALboard=>aSET_REPORTrequestwillbesentMoredetailsaboutthisDemoimplementationisgivenintheUsermanual"UM0424STM32F10xxxUSBdevelopmentkit",availablefordownloadfromtheSTmicrocontrollerswebsite:www.st.com/stm32
1