Hello everyone,
I am working with MKV31F256xx12 MCU and I am trying to get a callback everytime a reception/measurement of an element in an ADC sequence is completed. Is it possible to do so?
Hi @cvstnc
You can keep reading the Conversion Complete Flag[COCO] on the ADC Status and Control Registers 1 (ADCx_SC1n) after this bit is set you can read the ADC data.
Also you can use an interrupt handler to read the value instead of keep reading the Conversion Complete flag.
Best Regards, Miguel.