STM32 HAL equivalent of Arduino millis()
The equivalent of Arduino’s millis()
function when using the STM32 HAL is
HAL_GetTick()
TheĀ ticks occur once every millisecond, so this will also give you a millisecond timer that will overflow after some time equivalently to how millis()
overflows.
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow