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