Wait reach the ADC window threshhold.
int32_t adc_os_wait_channel_threshhold_reach( struct adc_os_descriptor *const descr, const uint8_t channel )
This function waits for the reach of ADC window threshhold. The task/thread will block until reach window threshhold.
Type: struct adc_os_descriptor Struct *const
The pointer to ADC descriptor
Type: const uint8_t
Channel number
Type: int32_t
The semaphore down timeout
The window threshhold has reached