Set ADC thresholds.
int32_t adc_os_set_thresholds( struct adc_os_descriptor *const descr, const adc_threshold_t low_threshold, const adc_threshold_t up_threshold )
This function sets ADC positive and negative thresholds.
Type: struct adc_os_descriptor Struct *const
The pointer to ADC descriptor
Type: const adc_threshold_t
A lower threshold to set
Type: const adc_threshold_t
An upper threshold to set
Type: int32_t
ERR_NONE