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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
1,446件の閲覧回数
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,000件の閲覧回数
dhaval_v_shah
Contributor III

done!

 

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

元の投稿で解決策を見る

0 件の賞賛
1 返信
1,001件の閲覧回数
dhaval_v_shah
Contributor III

done!

 

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

0 件の賞賛