摘要
根据STM32微控制器标准外设库的结构和USB固件库中各文件的功能,设计了一款简易的USB键盘,用于塔式起重机虚拟操作培训系统中。该USB键盘在STM32微控制器的标准外设库中增加了有关时钟、中断、输入输出的文件,实现了键盘的输入功能;在USB固件库实例基础上,修改了包含简易USB键盘的报告描述符文件,实现了USB键盘与上位机的单向通讯功能,保证了塔式起重机虚拟操作培训系统中联动控制台与场景系统之间控制信号的正确传输。
Based on the structure of standard STM32 microcontroller peripheral library and functions of each file in USB firmware library, a simple USB keyboard is designed used in the virtual operation training system of tower crane. The files regarding clock, interrupt, input and output are added to the standard STM32 mierocontroller peripheral library of the USB keyboard, which realizes the input function of the keyboard; on the basis of USB firmware library, the report de- scriptor file including the simple USB keyboard is modified, realizing the one-way communicating function between the USB keyboard and upper computer, so as to ensure correct transportation of control signals between the interaction console and the scene system in the virtual operation training system of tower crane.
出处
《起重运输机械》
2013年第7期4-7,共4页
Hoisting and Conveying Machinery
关键词
塔式起重机
虚拟操作
微控制器
键盘
固件库
tower crane
virtual operation
microcontroller
keyboard
firmware library