Hi,
regarding ADC12 module I have a question of the volatilety of the ADC12MEMx -register.
In our application we read out the ADC12MEMx -reg directly after reset of bit ADC12ON.
Could this sequence (switch off before reading) cause some problem with the volatility
of the memory register in case of an interrupt occuring at point y and needs some time
before reading the adc value ?
PseudoCode:
init_adc(); with start of conversion
... ~ 1ms
/* Disable conversion */
ADC12CTL0 &= ~ADC12ENC;
/* Turn ADC off */
ADC12CTL0 &= ~ADC12ON;
/* point y*/
/* Store the reading */
g_adc = ADC12_MEMORY;
Thank you in advance for your help...