Question
transform the function HAL_GetTick() in a 64bit
Hello Everybody,
I would like transform the HAL_GetTick() function more than 49 days.
I don't find a NVIC overflow on this function to increment a second variable.
In my while I have do this with
uint32_t Mem_GetTick;
uint64_t Tick64;
while (1)
{
if (HAL_GetTick() != Mem_GetTick)
{
Mem_GetTick = HAL_GetTick();
Tick64++;
}
.
.
.
}
MAybe there is a more efficicent solution
Thank you to share your exeprience
