This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

msp430f5529 ad 问题



   ADC12CTL0 &= ~ADC12ENC;  

   ADC12CTL0 |= ADC12SHT0_12 + ADC12ON+ADC12MSC;         // Sampling time, ADC12 on  

   ADC12CTL1 |= ADC12SHP+ADC12CONSEQ_2+ADC12CSTARTADD_4;     //

 ADC12CTL0 &= ~ADC12ENC;  

    ADC12MCTL4|= ADC12INCH_6 ;                    // Use sampling timer       

     ADC12IE= BIT4;                       

    // Enable interrupt     

 ADC12CTL0 |= ADC12ENC;     

    ADC12CTL0 |= ADC12SC;

以上程序段划线部分为什么?  通道a6 在 ADC12MCTL4  寄存器中,而中断使能是   BIT4???  求大神,求指导???