fingersensors.h

Go to the documentation of this file.
00001 #include "t89c51cc02.h"
00002 #include "datatypes.h"
00005 #define FINGERSENSOR_COLUMN_SELECT0 P1_6
00006 
00007 #define FINGERSENSOR_COLUMN_SELECT1 P1_7
00008 
00010 #define Fingersensors_PowerOff() FINGERSENSOR_COLUMN_SELECT0=0; FINGERSENSOR_COLUMN_SELECT1=0
00011 
00012 #define Fingersensors_SelectBank1() FINGERSENSOR_COLUMN_SELECT0=1; FINGERSENSOR_COLUMN_SELECT1=0
00013 
00014 #define Fingersensors_SelectBank2() FINGERSENSOR_COLUMN_SELECT0=0; FINGERSENSOR_COLUMN_SELECT1=1
00015 
00016 #define FINGERSENSORS_NR 4
00017 
00018 extern WORD idata fingersensors[FINGERSENSORS_NR];
00019 
00020 void Fingersensors_init(void);
00021 void Fingersensors_read(void);

Generated on Wed Oct 24 12:57:24 2007 for SensorControl by  doxygen 1.4.6