HAL library 3- DELAY for STM32Fxxx
Delay functions are needed in your program, no matter how optimized and fast program you wanna do. Delay functions I’ve updated my delay library to support milliseconds and microseconds delays. Milliseconds based delay is done using systick timer which makes interrupts every 1ms generated by HAL library. For microseconds based delay, DWT cycle counter is used to get maximal optimized delay. DWT unit is for F4 and F7 only, F0 series does not have DWT, because of Cortex-M0. Software timers...
Recent comments