1: struct crdevice {
2: short crcs;
3: short crb1;
4: short crb2;
5: };
6:
7: /* bits in crcs */
8: #define CR_ERR 0100000 /* error */
9: #define CR_CARDDONE 0040000 /* card done */
10: #define CR_HCHK 0020000 /* hopper check */
11: #define CR_MCHK 0010000 /* motion check */
12: #define CR_TERR 0004000 /* timing error */
13: #define CR_ONLINE 0002000 /* reader to on line */
14: #define CR_BUSY 0001000 /* busy */
15: #define CR_RRS 0000400 /* reader ready status */
16: #define CR_COLDONE 0000200 /* column done */
17: #define CR_IE 0000100 /* interrupt enable */
18: #define CR_EJECT 0000002 /* eject */
19: #define CR_READ 0000001 /* read */
20:
21: #define CR_HARDERR (CR_ERR|CR_HCHK|CR_MCHK|CR_TERR)
22:
23: #define CR_BITS \
24: "\10\20ERR\17CARDDONE\16HCHK\15MCHK\14TERR\13ONLINE\12BUSY\11RRS\10COLDONE\
25: \7IE\2EJECT\1READ"
Defined struct's
Defined macros
CR_ERR
defined in line
8; used 1 times
CR_IE
defined in line
17;
never used