41 #include <msp430/adc12.h>
43 #include "contiki-msb430.h"
48 ADC12CTL0 = SHT0_15 | SHT1_15 | MSC;
55 ADC12CTL1 = SHP | CONSEQ_3 | CSTARTADD_0;
58 ADC12MCTL0 = INCH_0 | SREF_0;
59 ADC12MCTL1 = INCH_1 | SREF_0;
60 ADC12MCTL2 = INCH_2 | SREF_0;
63 ADC12MCTL3 = ADC12MCTL4 = ADC12MCTL5 = INCH_1 | SREF_0;
66 ADC12MCTL6 = ADC12MCTL7 = ADC12MCTL8 = ADC12MCTL9 = INCH_2 | SREF_0;
69 ADC12MCTL10 = INCH_3 | SREF_0;
72 ADC12MCTL11 = INCH_4 | SREF_0;
75 ADC12MCTL12 = INCH_5 | SREF_0;
78 ADC12MCTL13 = INCH_10 | SREF_0 | EOS;
95 ADC12CTL0 &= ~ADC12ON;