Question
who to implement HAL_GetTick()
I am trying to find time it takes for a loop, am I missing something ?
uint32_t time1 = HAL_GetTick();
...
unit32_t time= HAL_GetTick( ) - time1;
I am using Keil when I add time to watch list I am getting response cannot evaluate.
It does not show anything
Any help with the code, am i missing something, do I need to declare, initialize something first ?