Questions and discussions about the software that runs on the TD RF module itself.
axelC
 
Posts: 16
Joined: Wed Feb 17, 2016 2:44 pm

Wait/Sleep/Delay function

by axelC Tue Mar 15, 2016 4:07 pm

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
User avatar
lcheminade
 
Posts: 146
Joined: Mon May 11, 2015 7:47 am

Re: Wait/Sleep/Delay function

by lcheminade Tue Mar 15, 2016 4:18 pm

What about TD_RTC_Delay(wait_in_ticks)?
axelC
 
Posts: 16
Joined: Wed Feb 17, 2016 2:44 pm

Re: Wait/Sleep/Delay function

by axelC Tue Mar 15, 2016 4:32 pm

Thanks

TD_RTC_Delay(T5MS) ;

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

Who is online

Users browsing this forum: No registered users and 26 guests