]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/msp430/adc12/Msp430Adc12.h
Added macros that can be used to reduce codesize (Msp430Adc12.h).
[tinyos-2.x.git] / tos / chips / msp430 / adc12 / Msp430Adc12.h
index d8ce94ea1d0df7d935350dad9938cdb5f4258137..6e6854e8850ef04fb08f747a0243c6b900d7e80a 100644 (file)
 #define MSP430ADC12_H
 #include "Msp430RefVoltGenerator.h"
 
-#define P6PIN_AUTO_CONFIGURE
+#define ADC12_TIMERA_ENABLED
+#define ADC12_P6PIN_AUTO_CONFIGURE
+#define ADC12_CHECK_ARGS
+//#define ADC12_ONLY_WITH_DMA
+
+// for HIL clients 
 #define REF_VOLT_AUTO_CONFIGURE
-#define CHECK_ARGS
+
 typedef struct { 
-  // see README.txt for a more detailed explanation
+  // see README.txt
   unsigned int inch: 4;            // input channel 
   unsigned int sref: 3;            // reference voltage 
   unsigned int ref2_5v: 1;         // reference voltage level 
@@ -56,7 +60,7 @@ typedef struct {
 
 typedef struct 
 {
-  // see README.txt for a more detailed explanation
+  // see README.txt
   volatile unsigned
   inch: 4,                                     // input channel
   sref: 3,                                     // reference voltage