adc_hal_digi_monitor_set_thres() function
Set ADC monitor with high and low thresholds, and will enable the interrupts accordingly
Arguments
monitor_id
Monitor to configure
adc_n
Which ADC unit will be monitored
adc_ch
Which ADC channel will be monitored
h_thres
High threshold (disable if < 0)
l_thres
Low threshold (disable if < 0)