Hi people, I have a question about ADC, make three conversions and look that is too long time about 1 us.
Anybody can review if I make a wrong program?
I put the little piece of code:
AdcRegs.ADCTRL2.bit.SOC_SEQ1 = 1;
while (AdcRegs.ADCST.bit.INT_SEQ1== 0) {} // Wait for interrupt
ILsensed = AdcMirror.ADCRESULT0;
vi_11 = AdcMirror.ADCRESULT1;
vo_11 = AdcMirror.ADCRESULT2;
AdcRegs.ADCST.bit.INT_SEQ1_CLR = 1;
AdcRegs.ADCTRL2.bit.RST_SEQ1 = 1;
// Reset SEQ1