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

cancel
Showing results for 
Search instead for 
Did you mean: 

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

Jump to solution
1,106 Views
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 Kudos
1 Solution
660 Views
dhaval_v_shah
Contributor III

done!

 

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

View solution in original post

0 Kudos
1 Reply
661 Views
dhaval_v_shah
Contributor III

done!

 

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

0 Kudos