5.1.4.18 adc_async_is_channel_conversion_complete
Check if conversion is complete.
int32_t adc_async_is_channel_conversion_complete(
const struct adc_async_descriptor *const descr,
const uint8_t channel
)
This function checks if the ADC has finished the conversion.
Parameters
- descr
-
Type: const struct adc_async_descriptor Struct *const
The pointer to the ADC descriptor
- channel
-
Type: const uint8_t
Channel number
Returns
Type: int32_t
The status of the ADC conversion completion checking.
- 1
-
The conversion is complete
- 0
-
The conversion is not complete