projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update UC3 platform driver support to use the bitmasks defined in the header files...
[pub/USBasp.git]
/
LUFA
/
Drivers
/
USB
/
Class
/
Common
/
Printer.h
diff --git
a/LUFA/Drivers/USB/Class/Common/Printer.h
b/LUFA/Drivers/USB/Class/Common/Printer.h
index
6619ced
..
3d52be3
100644
(file)
--- a/
LUFA/Drivers/USB/Class/Common/Printer.h
+++ b/
LUFA/Drivers/USB/Class/Common/Printer.h
@@
-1,13
+1,13
@@
/*
LUFA Library
/*
LUFA Library
- Copyright (C) Dean Camera, 201
0
.
+ Copyright (C) Dean Camera, 201
1
.
dean [at] fourwalledcubicle [dot] com
dean [at] fourwalledcubicle [dot] com
- www.fourwalledcubicle.com
+ www.lufa-lib.org
*/
/*
*/
/*
- Copyright 201
0
Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 201
1
Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@
-38,9
+38,9
@@
*/
/** \ingroup Group_USBClassPrinter
*/
/** \ingroup Group_USBClassPrinter
- *
@
defgroup Group_USBClassPrinterCommon Common Class Definitions
+ *
\
defgroup Group_USBClassPrinterCommon Common Class Definitions
*
*
- * \section Module Description
+ * \section
Sec_ModDescription
Module Description
* Constants, Types and Enum definitions that are common to both Device and Host modes for the USB
* Printer Class.
*
* Constants, Types and Enum definitions that are common to both Device and Host modes for the USB
* Printer Class.
*
@@
-51,9
+51,7
@@
#define _PRINTER_CLASS_COMMON_H_
/* Includes: */
#define _PRINTER_CLASS_COMMON_H_
/* Includes: */
- #include "../../HighLevel/StdDescriptors.h"
-
- #include <string.h>
+ #include "../../Core/StdDescriptors.h"
/* Enable C linkage for C++ Compilers: */
#if defined(__cplusplus)
/* Enable C linkage for C++ Compilers: */
#if defined(__cplusplus)
@@
-66,6
+64,8
@@
#endif
/* Macros: */
#endif
/* Macros: */
+ /** \name Virtual Printer Status Line Masks */
+ //@{
/** Port status mask for a printer device, indicating that an error has *not* occurred. */
#define PRNT_PORTSTATUS_NOTERROR (1 << 3)
/** Port status mask for a printer device, indicating that an error has *not* occurred. */
#define PRNT_PORTSTATUS_NOTERROR (1 << 3)
@@
-74,6
+74,7
@@
/** Port status mask for a printer device, indicating that the device is currently out of paper. */
#define PRNT_PORTSTATUS_PAPEREMPTY (1 << 5)
/** Port status mask for a printer device, indicating that the device is currently out of paper. */
#define PRNT_PORTSTATUS_PAPEREMPTY (1 << 5)
+ //@}
/* Enums: */
/** Enum for possible Class, Subclass and Protocol values of device and interface descriptors relating to the Printer
/* Enums: */
/** Enum for possible Class, Subclass and Protocol values of device and interface descriptors relating to the Printer