Go to the source code of this file.
Defines | |
| #define | NOTBUSY 0x080 |
| #define | NOTACK 0x040 |
| #define | PAPER_OUT 0x020 |
| #define | SELECTED 0x010 |
| #define | NOERROR 0x008 |
| #define | IRQ_ENABLE 0x010 |
| #define | SELECT 0x008 |
| #define | NOT_RESET 0x004 |
| #define | AUTO_FEED 0x002 |
| #define | STROBE 0x001 |
| #define | STATUS_MASK (NOTBUSY|PAPER_OUT|SELECTED) |
| #define | STATUS_OK (NOTBUSY|SELECTED) |
| #define | CTL_BITS (SELECT|NOT_RESET) |
| #define | STROBE_ON(x) ((x) | (CTL_BITS|STROBE)) |
| #define | STROBE_OFF(x) (((x) | (CTL_BITS)) & ~STROBE) |
| #define | REG_DATA 0 |
| #define | REG_STAT 1 |
| #define | REG_CNTL 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001