Hi,
I am using mcuexpresso for my project.
How to calculate the time elapsed in microseconds .
Is there any API to get the count or time?
Solved! Go to Solution.
You can use the DWT as a cycle counter, either to measure execution time or for delays.
https://mcuoneclipse.com/2017/01/30/cycle-counting-on-arm-cortex-m-with-dwt/
-Nick
You can use the DWT as a cycle counter, either to measure execution time or for delays.
https://mcuoneclipse.com/2017/01/30/cycle-counting-on-arm-cortex-m-with-dwt/
-Nick