AnsweredAssumed Answered

FreeRTOS equivalent of uint32_t HAL_GetTick(void)

Question asked by Reddy.Harinadha on Jul 10, 2014
Latest reply on Oct 9, 2014 by Montassar BEN ROMDHANE
I'm using STM32Cube_FW_F4_V1.1.0 libraries for STM32F4. I found uint32_t HAL_GetTick(void) will provide tics in milliseconds.

I have found  the following in a FreeRTOS based code OpenPilot
timeNowMs = xTaskGetTickCount() * portTICK_RATE_MS; 
This problem is described at OpenPilot forum ( sorry for redirecting you).
can I use it like timeNowMs = HAL_GetTick();
Would this result in same functionality ?