|
#define ADC12CTL0_ 0x0;'
sfrw ADC12CTL0 = ADC12CTL0_;
#define ADC12CTL1_ 0x01A2
sfrw ADC12CTL1 = ADC12CTL1_;
#define ADC12IFG_ 0x01A4
sfrw ADC12IFG = ADC12IFG_;
#define ADC12IE_ 0x01A6
sfrw ADC12IE = ADC12IE_;
#define ADC12IV_ 0x01A8
sfrw ADC12IV = ADC12IV_;
#define ADC12MEM_ 0x0140
#ifndef __IAR_SYSTEMS_ICC
#define ADC12MEM ADC12MEM_
#else
#define ADC12MEM ((int*) ADC12MEM_)
#endif
#define ADC12MEM0_ ADC12MEM_
sfrw ADC12MEM0 = ADC12MEM0_;
#define ADC12MEM1_ 0x0142
sfrw ADC12MEM1 = ADC12MEM1_;
#define ADC12MEM2_ 0x0144
sfrw ADC12MEM2 = ADC12MEM2_;
#define ADC12MEM3_ 0x0146
sfrw ADC12MEM3 = ADC12MEM3_;
#define ADC12MEM4_ 0x0148
sfrw ADC12MEM4 = ADC12MEM4_;
#define ADC12MEM5_ 0x014A
sfrw ADC12MEM5 = ADC12MEM5_;
#define ADC12MEM6_ 0x014C
sfrw ADC12MEM6 = ADC12MEM6_;
#define ADC12MEM7_ 0x014E
sfrw ADC12MEM7 = ADC12MEM7_;
#define ADC12MEM8_ 0x0150
sfrw ADC12MEM8 = ADC12MEM8_;
#define ADC12MEM9_ 0x0152
sfrw ADC12MEM9 = ADC12MEM9_;
#define ADC12MEM10_ 0x0154
sfrw ADC12MEM10 = ADC12MEM10_;
#define ADC12MEM11_ 0x0156
sfrw ADC12MEM11 = ADC12MEM11_;
#define ADC12MEM12_ 0x0158
sfrw ADC12MEM12 = ADC12MEM12_;
#define ADC12MEM13_ 0x015A
sfrw ADC12MEM13 = ADC12MEM13_;
#define ADC12MEM14_ 0x015C
sfrw ADC12MEM14 = ADC12MEM14_;
#define ADC12MEM15_ 0x015E
sfrw ADC12MEM15 = ADC12MEM15_;
#define ADC12MCTL_ 0x0080
#ifndef __IAR_SYSTEMS_ICC
#define ADC12MCTL ADC12MCTL_
#else
#define ADC12MCTL ((char*) ADC12MCTL_)
#endif
#define ADC12MCTL0_ ADC12MCTL_
sfrb ADC12MCTL0 = ADC12MCTL0_;
#define ADC12MCTL1_ 0x0081
sfrb ADC12MCTL1 = ADC12MCTL1_;
#define ADC12MCTL2_ 0x0082
sfrb ADC12MCTL2 = ADC12MCTL2_;
#define ADC12MCTL3_ 0x0083
sfrb ADC12MCTL3 = ADC12MCTL3_;
#define ADC12MCTL4_ 0x0084
sfrb ADC12MCTL4 = ADC12MCTL4_;
#define ADC12MCTL5_ 0x0085
sfrb ADC12MCTL5 = ADC12MCTL5_;
#define ADC12MCTL6_ 0x0086
sfrb ADC12MCTL6 = ADC12MCTL6_;
#define ADC12MCTL7_ 0x0087
sfrb ADC12MCTL7 = ADC12MCTL7_;
#define ADC12MCTL8_ 0x0088
sfrb ADC12MCTL8 = ADC12MCTL8_;
#define ADC12MCTL9_ 0x0089
sfrb ADC12MCTL9 = ADC12MCTL9_;
#define ADC12MCTL10_ 0x008A
sfrb ADC12MCTL10 = ADC12MCTL10_;
#define ADC12MCTL11_ 0x008B
sfrb ADC12MCTL11 = ADC12MCTL11_;
#define ADC12MCTL12_ 0x008C
sfrb ADC12MCTL12 = ADC12MCTL12_;
#define ADC12MCTL13_ 0x008D
sfrb ADC12MCTL13 = ADC12MCTL13_;
#define ADC12MCTL14_ 0x008E
sfrb ADC12MCTL14 = ADC12MCTL14_;
#define ADC12MCTL15_ 0x008F
sfrb ADC12MCTL15 = ADC12MCTL15_;
#define ADC12SC 0x001
#define ENC 0x002
#define ADC12TOVIE 0x004
#define ADC12OVIE 0x008
#define ADC12ON 0x010
#define REFON 0x020
#define REF2_5V 0x040
#define MSH 0x080
#define MSC 0x080
#define SHT0_0 0*0x100
#define SHT0_1 1*0x100
#define SHT0_2 2*0x100
#define SHT0_3 3*0x100
#define SHT0_4 4*0x100
#define SHT0_5 5*0x100
#define SHT0_6 6*0x100
#define SHT0_7 7*0x100
#define SHT0_8 8*0x100
#define SHT0_9 9*0x100
#define SHT0_10 10*0x100
#define SHT0_11 11*0x100
#define SHT0_12 12*0x100
#define SHT0_13 13*0x100
#define SHT0_14 14*0x100
#define SHT0_15 15*0x100
#define SHT1_0 0*0x100
#define SHT1_1 1*0x100
#define SHT1_2 2*0x100
#define SHT1_3 3*0x100
#define SHT1_4 4*0x100
#define SHT1_5 5*0x100
#define SHT1_6 6*0x100
#define SHT1_7 7*0x100
#define SHT1_8 8*0x100
#define SHT1_9 9*0x100
#define SHT1_10 10*0x100
#define SHT1_11 11*0x100
#define SHT1_12 12*0x100
#define SHT1_13 13*0x100
#define SHT1_14 14*0x100
#define SHT1_15 15*0x100
#define ADC12BUSY 0x0001
#define CONSEQ_0 0*2
#define CONSEQ_1 1*2
#define CONSEQ_2 2*2
#define CONSEQ_3 3*2
#define ADC12SSEL_0 0*8
#define ADC12SSEL_1 1*8
#define ADC12SSEL_2 2*8
#define ADC12SSEL_3 3*8
#define ADC12DIV_0 0*0x20
#define ADC12DIV_1 1*0x20
#define ADC12DIV_2 2*0x20
#define ADC12DIV_3 3*0x20
#define ADC12DIV_4 4*0x20
#define ADC12DIV_5 5*0x20
#define ADC12DIV_6 6*0x20
#define ADC12DIV_7 7*0x20
#define ISSH 0x0100
#define SHP 0x0200
#define SHS_0 0*0x400
#define SHS_1 1*0x400
#define SHS_2 %2
|
|