/* lu2.h Definitions for LU2 control program */ #ifndef LU2_INCLUDED #define LU2_INCLUDED #define MAJOR_VERSION 1 #define MINOR_VERSION 0 #define BANNER_ID "LU2 Control" #define KEY_DEBOUNCE_DELAY 20 #define BLINK_DELAY 50 #define OEDSin ((1<<15) & switch_status_array) #define OEAin ((1<<14) & switch_status_array) #define OEBin ((1<<13) & switch_status_array) #define OETin ((1<<12) & switch_status_array) #define OERin ((1<<11) & switch_status_array) #define OEMRin ((1<<10) & switch_status_array) #define MWin ((1<<9) & switch_status_array) #define Cin ((1<<8) & switch_status_array) #define F0in ((1<<7) & switch_status_array) #define F1in ((1<<6) & switch_status_array) #define F2in ((1<<5) & switch_status_array) #define F3in ((1<<4) & switch_status_array) #define LDRin ((1<<3) & switch_status_array) #define LDTin ((1<<2) & switch_status_array) #define LDBin ((1<<1) & switch_status_array) #define LDAin ((1<<0) & switch_status_array) #define OEDSout (1<<0) #define OEAout (1<<1) #define OERout (1<<0) #define OETout (1<<1) #define OEBout (1<<2) #define Cout (1<<3) #define Zout (1<<4) #define Vout (1<<5) #define Nout (1<<6) #define MRout (1<<7) #endif /* LU2_INCLUDED */