Hi Zhengsu,
If you are using sequence of channels mode, you have to do:
ADC12CTL0 &= ~ENC; at the beginning of your ISR then
ADC12CTL0 |= ENC;  before you leave.
I can send you example code if you still need it.

  Garst

Gao Zhengsu wrote:
> 
>  Dear Brian
>                         Thank you, Yes, you are right. I add the
> 
>                           ADC12IE = 0x01;
> to enable ADC interrupt and add
>                         ADC12CTL0 |= ENC;
> in the ADC interrupt routine, but it still doesn't stop by the ADC interrupt
> even for the first time. I am really confused. I have checked the system
> clock too and select the SMCLK definitely. What's wrong with this, I'm really
> lost!
> Thank you!!
> Regards
> Zhengsu
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> Mspgcc-users mailing list
> Mspgcc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to