AnsweredAssumed Answered

returned value of a few HAL routines

Question asked by lecordier.guy.001 on Feb 17, 2017


I used  the HAL Drivers V1.6.0 / 04-November-2016 from STM32Cube_TW_F4_V1.14.0

It seems there is a mismatch in the returned value of a few HAL routines
The returned value can be the HAL_BUSY or a computed value
Example HAL_CRC_Calculate() can return HAL_BUSY (by __HAL_LOCK(hcrc)) or the computed value

I noted this behavior in
Stm32f4xx_hal_crc.c HAL_CRC_Accumulate() HAL_CRC_Calculate()
Stm32f4xx_hal_tim.c HAL_TIM_ReadCapturedValue()