Open jinhyuk-im opened 6 years ago
After called HAL_ADC_PollForConversion(), ADC state can have both HAL_ADC_STATE_REG_EOC and HAL_ADC_STATE_READY like below situation: https://github.com/MaJerle/stm32fxxx_hal_libraries/blob/b295f87c649cccf0c27bcd6f8f3695666fdde571/00-HAL_DRIVERS/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c#L634-L655 So, Added HAL_ADC_STATE_READY to the code of checking conversion of a regular channel finished.
HAL_ADC_PollForConversion()
HAL_ADC_STATE_REG_EOC
HAL_ADC_STATE_READY
All committers have signed the CLA.
Thank you!!
邮件已收到,我会尽快回复的!
After called
HAL_ADC_PollForConversion()
, ADC state can have bothHAL_ADC_STATE_REG_EOC
andHAL_ADC_STATE_READY
like below situation: https://github.com/MaJerle/stm32fxxx_hal_libraries/blob/b295f87c649cccf0c27bcd6f8f3695666fdde571/00-HAL_DRIVERS/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c#L634-L655 So, AddedHAL_ADC_STATE_READY
to the code of checking conversion of a regular channel finished.