Waiting indefinitely for an ADC conversion to complete
Hello,In my application I want to get the ADC voltage - waiting indefinitely until the operation completes. Will this code work ?while ( HAL_ADC_PollForConversion ( & hadc1 , 1000 ) == HAL_TIMEOUT );