AnsweredAssumed Answered

HAL_UART_Receive() Timeout unit?

Question asked by Dick Lin on May 29, 2018
Latest reply on May 29, 2018 by Clive Two.Zero


What's the unit of the HAL_UART_Recevie() Timeout value? Is this us, ms, or SysTick? If I have FreeRTOS enabled and using TIM1 for SYS in Cube, how can I make sure this get right right timeout value?





HAL_StatusTypeDef HAL_UART_Receive(UART_HandleTypeDefhuart,
uint8_t * pData,
uint16_t Size,
uint32_t Timeout