How to implement clock() function of C Library for TWRK60N512

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

How to implement clock() function of C Library for TWRK60N512

跳至解决方案
2,075 次查看
dhaval_v_shah
Contributor III

Hello,

 

I want to use C library function clock() part of time.h. This function being hardware dependent needs to be implemented specifically for the target hardware.

 

Can I make use of sysTick of Cortex M4 for its implementation?

 

suggestions/example implementation are welcome.

 

Regards,

d2v0

0 项奖励
回复
1 解答
1,629 次查看
dhaval_v_shah
Contributor III

done!

 

Hint: Use SysTick and reflect ticks from clock() functions...

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,630 次查看
dhaval_v_shah
Contributor III

done!

 

Hint: Use SysTick and reflect ticks from clock() functions...

0 项奖励
回复