In Starterware 2.0.0.7 for Sitara, in the adc example, adcVoltMeasure.c, there is a function:
/* Clear status of all interrupts */
static void CleanUpInterrupts(void)
{
TSCADCIntStatusClear(TSC_ADC_INSTANCE, 0x7FF);
TSCADCIntStatusClear(TSC_ADC_INSTANCE ,0x7FF);
TSCADCIntStatusClear(TSC_ADC_INSTANCE, 0x7FF);
}
Why is it necessary to do the same instruction 3 times?
I did not see anything in the TRM, DS or errata indicating that this is necessary.
Gerry Belanger