Hi,
I am using F28027 and I want to drive ADC in such a way it starts the conversion on CPU Timer0 interrupt.
If I write values directly into the peripheral’s registers I have to type the following line:
AdcRegs.ADCSOC1CTL.bit.TRIGSEL = 1;
but in this case I want to use Software Driver Model. I have found that to set SOC0 start trigger on EPWM1A it is necessary to type:
ADC_setSocTrigSrc(myAdc, ADC_SocNumber_0, ADC_SocTrigSrc_EPWM1_ADCSOCA);
So, what is the corresponding line for CPU Timer0 interrupt?
Best regards.
