LUFA Library  120219
PrinterClassCommon.h File Reference

Common definitions and declarations for the library USB Printer Class driver. More...

Defines

Virtual Printer Status Line Masks
#define PRNT_PORTSTATUS_NOTERROR   (1 << 3)
#define PRNT_PORTSTATUS_SELECT   (1 << 4)
#define PRNT_PORTSTATUS_PAPEREMPTY   (1 << 5)

Enumerations

enum  PRNT_Descriptor_ClassSubclassProtocol_t {
  PRNT_CSCP_PrinterClass = 0x07,
  PRNT_CSCP_PrinterSubclass = 0x01,
  PRNT_CSCP_BidirectionalProtocol = 0x02
}
enum  PRNT_ClassRequests_t {
  PRNT_REQ_GetDeviceID = 0x00,
  PRNT_REQ_GetPortStatus = 0x01,
  PRNT_REQ_SoftReset = 0x02
}

Detailed Description

Common definitions and declarations for the library USB Printer Class driver.

Note:
This file should not be included directly. It is automatically included as needed by the USB module driver dispatch header located in LUFA/Drivers/USB.h.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines