00001 /*E12user.h 00002 defines for user code to interface with the 37e12 driver 00003 */ 00004 00005 /*IOCTL defines*/ 00006 00007 /*configuration*/ 00008 #define E12_CONFIG 0 00009 typedef struct E12_config_struct 00010 { 00011 int address; 00012 int IRQ; 00013 unsigned char IRQedge; 00014 }E12_config_struct; 00015 00016 /*digital ports*/ 00017 typedef unsigned char isodata; 00018 #define ISO_DIG_IN 1 00019 #define ISO_DIG_OUT 2