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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

2,558 次查看
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
标签 (1)
0 项奖励
回复
2 回复数

1,413 次查看
Spell
Contributor I
Hi AmZig,
for introduce a delay you can call the function TMR_StartSingleShotTimer...
0 项奖励
回复

1,413 次查看
AmZig
Contributor I
Hello Spell,
 
Thank you for the help, you owe me one. I ll try it .

Regards
AmZig.
0 项奖励
回复