Page 1 of 1

Wait/Sleep/Delay function

Posted: Tue Mar 15, 2016 4:07 pm
by axelC
Hello,

What is the recommended method on my user application (in user_main.c) for delay function?

I try some EFM32 propositions, but they use SysTick_Handler which is already in use by TD RTC driver.

I have a basic need : wait 1 to 10 ms between 2 actions.

Thanks for yours advices

Re: Wait/Sleep/Delay function

Posted: Tue Mar 15, 2016 4:18 pm
by lcheminade
What about TD_RTC_Delay(wait_in_ticks)?

Re: Wait/Sleep/Delay function

Posted: Tue Mar 15, 2016 4:32 pm
by axelC
Thanks

TD_RTC_Delay(T5MS) ;

Seems to do exactly what I need, I will play with it.