MC13213- how to introduce delays function in MAC code application.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MC13213- how to introduce delays function in MAC code application.

1,575 Views
AmZig
Contributor I
Hello Everyone,
 
I am working on MAC code base , and i want to introduce a delay function that could create delay of 5ms or 5 sec in my application's different state machines  .
I have tried to introduce delay through a counter but it does not work . So , anyone out there has done that or have an idea how to do so , kindly guide me how to play with the Timer register.
I have also tried to worked with Timer.h and timerHAl.h files , but it did not work out.
Waiting for reply.
 
Regards
AmZig
Labels (1)
0 Kudos
2 Replies

430 Views
Spell
Contributor I
Hi AmZig,
for introduce a delay you can call the function TMR_StartSingleShotTimer...
0 Kudos

430 Views
AmZig
Contributor I
Hello Spell,
 
Thank you for the help, you owe me one. I ll try it .

Regards
AmZig.
0 Kudos