首页|嵌入式系统|显示技术|模拟IC/电源|元件与制造|其他IC/制程|消费类电子|无线/通信|汽车电子|工业控制|医疗电子|测试测量
首页 > 分享下载 > 无线/通信 > 用嵌入式主机的USB键盘

用嵌入式主机的USB键盘

资料介绍
Microcontroller applications can easily support USB
embedded host functionality with the introduction of
Microchip’s microcontrollers with the USB OTG
peripheral. Traditionally, personal computers have been
used as hosts in a USB network. Microchip’s USB OTG
product line can now replace the personal computer in
the system by implementing an embedded host.
Many embedded applications require control inputs from
external devices, such as keyboards, mice, joysticks,
Point-of-Sale (POS) barcode scanners and magnetic
code readers having HID Keyboard Emulation mode.
This application note demonstrates how to develop a
USB keyboard application that can run on the Explorer
16 demo board with a USB PICtail™ Plus daughter
board using a Microchip USB OTG microcontroller as the
embedded host.
AN1212
Using USB Keyboard with an Embedded Host

as Ctrl, Shift, Alt and GUI keys make up the 8-bit modifier
Author: Amardeep Gupta
byte in a standard keyboard report. Byte 1 of this report
Microchip Technology Inc.
is a constant. This byte is reserved for the use of the
Original Equipment Manufacturer (OEM).
INTRODUCTION Table 2 describes the keyboard output report (1 byte).
Microcontroller app
标签:USB键盘USB
用嵌入式主机的USB键盘
本地下载

评论