资料介绍
Typical embedded applications are rather restricted in
how they can present data to a user. Limited amounts
of data can be displayed on an LCD or a graphical dis-
play, but large amounts of data are more problematical.
Often, data is transferred via an electrical interface or
via electronic storage media, such as a thumb drive, for
further examination, but it can be handy to obtain an
immediate snapshot of the data. The USB Printer
Class, used on one of Microchip’s microcontrollers with
the USB OTG peripheral, allows an embedded applica-
tion to utilize a USB printer to provide hardcopy output
for quick review and possible archival. AN1233
USB Printer Class on an Embedded Host
Author: Kim Otten
USB PRINTER CLASS
Microchip Technology Inc. The “USB Device Class Definition for Printing Devices”
specification, available from the USB Implementers
Forum, defines the configuration, interface and
INTRODUCTION endpoint descriptors, as well as the communications
Typical embedded applications are rather restricted in protocol used to commun