analog.h

Go to the documentation of this file.
00001 
00017 #ifndef _ANALOG_H
00018 #define _ANALOG_H
00019 
00026 #define AN0 0x00
00027 
00028 #define AN1 0x01
00029 
00030 #define AN2 0x02
00031 
00032 #define AN3 0x03
00033 
00034 #define AN4 0x04
00035 
00036 #define AN5 0x05
00037 
00038 #define AN6 0x06
00039 
00040 #define AN7 0x07
00041 
00042 #define AN8 0x08
00043 
00044 #define AN9 0x09
00045 
00046 #define AN10 0x0a
00047 
00048 #define AN11 0x0b
00049 
00050 #define AN12 0x0c
00051 
00052 #define AN13 0x0d
00053 
00054 #define AN14 0x0e
00055 
00056 #define AN15 0x0f
00057 
00059 #define EXT_MUX AN7
00060 
00061 #define WHEEL_PORT AN10
00062 
00063 #define BATT_PORT  AN11
00064 
00066 void analog_init(void);
00068 unsigned int analog8(int which);
00070 unsigned int analog10(int which);
00072 int wheel(void);
00073  //end group
00075 
00076 #endif

Generated on Wed Sep 5 16:33:32 2007 for libdragonfly by  doxygen 1.4.6