Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages   Examples  

keys.h

00001 #ifndef _DEV_LCD_H_
00002 #define _DEV_LCD_H_
00003 
00004 #include <sys/device.h>
00005 
00019 #define CHAR_CHECK_TIME  100
00020 
00024 #define CHAR_REPEAT_TIME 800
00025 
00030 #define A 1
00031 
00035 #define B 2
00036 
00040 #define C 3
00041 
00045 #define D 4
00046 
00050 #define E 5
00051 
00056 typedef struct _KEYSDCB KEYSDCB;
00057 
00062 struct _KEYSDCB {
00066         u_long charCheckTime;
00067 
00071         u_long charRepeatTime;
00072 
00076     HANDLE rx_rdy;
00077 };
00078 
00082 extern NUTDEVICE devKeys0;
00083 
00091 extern char getK(void);
00092 
00100 extern char getKey(void);
00101 
00102 
00106 #endif

Generated on Thu Jan 30 22:30:50 2003 for EduNet by doxygen1.2.18