cancel
Showing results for 
Search instead for 
Did you mean: 

returned value of a few HAL routines

Lecordier.Guy
Associate III
Posted on February 17, 2017 at 14:01

Dear,

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()

Regards

0 REPLIES 0