Hello,
In order to create an accurate delay I wrote the following code:
TimerConfigure(TIMER0_BASE, TIMER_CFG_A_ONE_SHOT);
TimerLoadSet(TIMER0_BASE, TIMER_A, 3000);
TimerEnable(TIMER0_BASE, TIMER_A);
while (TimerValueGet(TIMER0_BASE, TIMER_A) !=0);
Cab you tell what is worng with my code ?
What is Half-width one-shot timer compared to Full-width one-shot timer ?
Best regards,
Z.V