AnsweredAssumed Answered

Micro-second delay function for STM32F0 ?

Question asked by vu.andy on Sep 30, 2016
Latest reply on Sep 30, 2016 by Clive One
Since it seems like the DWT is not available for the F0 series, is the only way is to have a long loop for micro-second delay?
For example, if the F0 runs at 48MHz, if I have a loop like this:

for (uint32_t idx = 0; idx<max_count; idx++) {}

So approximately, what would be the value of max_count to get 1 micro-second?

Thanks.

Outcomes