AnsweredAssumed Answered

ADC in continuous mode

Question asked by pivovarov.ivan on Oct 8, 2012
Latest reply on Oct 8, 2012 by baird.hal.001
Hello!

I have a couple of questions on using ADC module in continuous mode.

1. Is there any possibility to stop ADC conversions with timer, kind of timer clock gating mode?

2. Now I use timer ISR in a following way. Is it safe enough?

ADC1->CR2 &= ~ADC_CR2_CONT;
while(!(ADC1->SR & ADC_SR_EOC));
ADC1->SR &= ~ADC_SR_EOC;


Best regards, Ivan.

Outcomes