Structure to hold the threshold detection configuration parameters.

Public Attributes#

uint16_t

Threshold 1 value.

uint16_t

Threshold 2 value.

uint8_t *

Condition for Threshold 1 (e.g., Equal, Greater, Lesser).

uint8_t *

Condition for Threshold 2 (e.g., Equal, Greater, Lesser).

uint8_t

Range of the threshold.

Public Attribute Documentation#

threshold1#

uint16_t sl_adc_threshold_config_t::threshold1

Threshold 1 value.


threshold2#

uint16_t sl_adc_threshold_config_t::threshold2

Threshold 2 value.


threshold1_cond#

uint8_t* sl_adc_threshold_config_t::threshold1_cond

Condition for Threshold 1 (e.g., Equal, Greater, Lesser).


threshold2_cond#

uint8_t* sl_adc_threshold_config_t::threshold2_cond

Condition for Threshold 2 (e.g., Equal, Greater, Lesser).


range#

uint8_t sl_adc_threshold_config_t::range

Range of the threshold.