A Simple USB Keyboard to Realize One-Way Communication

Article Preview

Abstract:

The basic principles of USB peripheral interface of STM32 micro-controller is introduced, the main function of each file of the basic structure in standard peripheral library and USB firmware library are analyzed in this paper. The files of clock, interrupt, input/output are modified based on standard peripheral library of the STM32 micro-controller and examples in the USB firmware library to realize the keyboard input function. A report descriptor of the simple USB keyboard is added to the USB firmware library. A simple USB keyboard is designed to effectively realize the one-way communication between the USB keyboard and the computer.

You might also be interested in these eBooks

Info:

Periodical:

Pages:

120-123

Citation:

Online since:

September 2012

Export:

Price:

Permissions CCC:

Permissions PLS:

Сopyright:

© 2012 Trans Tech Publications Ltd. All Rights Reserved

Share:

Citation:

[1] Y. M. Nan: Programming for STM32F103xxx Standard Peripherals Based on STM32 Standard Peripherals Library, Journal of Changsha Aeronautical Vocational and Technical College. Vol. 10, No. 4 (2010), pp.41-45.

Google Scholar

[2] L. Song, Q. Miao: Design and Implementation of Serial Interface Communication on Real-time Embedded Operating System uC/OS-II, Electronic Design Engineering. Vol. 19, No. 1 (2011), pp.42-46.

Google Scholar

[3] Z. W. Wu, H. Wang, H. Zhang: Virtual Scene Modeling Technology Based on OpenGL and 3dsMAX, Computational Intelligence and Design (ISCID) (2011), pp.170-173.

DOI: 10.1109/iscid.2011.144

Google Scholar

[4] H. Y. Liu, J. Tian, Y. X. Gai, S. P. Huang: Design of Controlling System About the High-power PMSM Based on STM32, Computer, Mechatronics, Control and Electronic Engineering (CMCE) (2010), pp.374-377.

DOI: 10.1109/cmce.2010.5610141

Google Scholar

[5] H. L. Han, F. L. Yang: Large-scale Terrain Scene Modeling and Roaming Simulation Based on VRML, Environmental Science and Information Application Technology (ESIAT) (2010), pp.150-153.

DOI: 10.1109/esiat.2010.5568399

Google Scholar