登录
首页 » c » 通过STM32CUbeMX建立USB HID的双向通讯

通过STM32CUbeMX建立USB HID的双向通讯

于 2022-03-13 发布 文件大小:5.24 MB
0 126
下载积分: 2 下载次数: 1

代码说明:

板子的芯片是STM32F103RCT6 ,使用STM32CUbeMX配置相当简单:1、配置时钟、USB选项及管脚功能,有二个LED和二个按键2、选择USB功能为HID3、配置时钟4、配置IO口功能这样就完成了配置,再生成工程,整个过程不到1分钟。当然还要在工程里面添加必要的应用程序:1、在usbd_custom_hid_if.c文件里面的__ALIGN_BEGIN static uint8_t CUSTOM_HID_ReportDesc_FS2、在usbd_custom_hid_if.c文件里面的int8_t CUSTOM_HID_OutEvent_FS

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • RectDetector
    矩形检测:用霍夫直线检测方法来对图像中的矩形进行检测。开发环境:vc6,需要安装OpenCV。OpenCV只是用来读取和显示图像等简单操作。(Rectangle detection: Hough line detection method using the image of the rectangle to test. Development Environment: vc6, need to install OpenCV. OpenCV is used to read and display images such as simple operation.)
    2010-08-08 13:06:08下载
    积分:1
  • fileOperate
    windows文件操作,文件移动、删除操作(windows file operations, file move, delete operation)
    2012-11-26 17:20:22下载
    积分:1
  • USERMANUL
    LPC4357开发板采用ARM的Cortex-M4微控制器LPC4357。内置一个ARM Cortex-M0协处理,CPU运行频率高达204MHz,片内集成1MB Flash和36KB SRAM。开发板采用独立核心板设计,核心板集成64MB SDRAM、128MB NAND-Flash、4MB SPI-Flash。核心板上的摄像头接口可直接连接各种型号的摄像头,两侧160P排针接口引出了除EMC总线外的LPC4357芯片所有功能管脚。 开发板提供丰富的外设接口,包括以太网、液晶屏、摄像头、USB-Host、USB-OTG、SD卡、RS232、RS485、CAN、耳机、麦克风、温度传感器、AD/DA、JTAG仿真器等。此外,开发板提供一个14P扩展接口,包括1路UART、1路SPI、1路I2C、4个IO、3.3V、5V,可以很方便的扩展自己的外围电路。(DS-LPC4357 development board using the Cortex-M4 microcontroller LPC4357 ARM s. A built-in ARM Cortex-M0 co-processor, CPU operating frequency up to 204MHz, 1MB Flash and 136KB SRAM integrated on chip. Development board using an independent core board design, the core board integrates 64MB SDRAM, 128MB NAND-Flash, 4MB SPI-Flash. Camera core board interface can be directly connected to various types of cameras, both sides 160P pin interface leads to the outside of the bus in addition to EMC LPC4357 chip all the functions of the pins. Development board provides a rich set of peripheral interfaces, including Ethernet, LCD screen, camera, USB-Host, USB-OTG, SD card, RS232, RS485, CAN, headphone, microphone, temperature sensor, AD/DA, JTAG emulator, etc. . In addition, the development board provides a 14P expansion interfaces, including one-way UART, 1 road SPI, 1 channel I2C, 4 个 IO, 3.3V, 5V, can easily expand their peripheral circuits.)
    2016-02-23 16:58:53下载
    积分:1
  • Hosts文件管理工具源码下载
    Hosts文件管理工具源码下载
    2013-10-14下载
    积分:1
  • ycuabout
    说明:  这是关于RS485方面的源程序,希望对大家有所帮助!(This is the source program about RS485, and I hope to help you!)
    2019-03-25 15:39:31下载
    积分:1
  • liaot
    Visual C++案例开发集锦第六章\聊天室服务器端开发的程序源码,值得一看!(Visual C++ case development highlights Chapter Chat server-side development of the program source code, worth a visit!)
    2011-08-13 16:09:13下载
    积分:1
  • P18_ADC_C_MCC
    PIC18系列单片机ADCC语言代码,提供给广大pic爱好者。(PIC18 Series MCU ADCC language code, available to the majority of PIC lovers.)
    2013-07-31 23:10:14下载
    积分:1
  • Windows7Simulation
    基于Silverlight的win7系统模拟界面,内带时钟,开始菜单,登陆界面等(Based on Silverlight' s win7 system simulation interface with the clock inside the start menu, the login screen, etc.)
    2010-09-09 21:13:36下载
    积分:1
  • FreeRTOS中文实用教程
    说明:  学习使用freertos,对学习的新手来说很有帮助,这个资料很全,讲解的也很详细(Learning to use FreeRTOS is very helpful for novice learners. This information is very complete and the explanation is very detailed)
    2020-06-24 20:20:01下载
    积分:1
  • 基于c#打开本地摄像头,aforge开发源
    基于c#调用本地摄像头,获取运动状态信息。通过调用window系统组件来实现,并具有拍照功能,代码还有待改善
    2022-08-16 12:37:47下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载