资料介绍
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