adc_os_get_threshold_state

Retrieve threshold state.

int32_t adc_os_get_threshold_state(
    const struct adc_os_descriptor *const descr,
    adc_threshold_status_t *const state
)

This function retrieves ADC threshold state.

Parameters

descr

Type: const struct adc_os_descriptor Struct *const

The pointer to ADC descriptor

state

Type: adc_threshold_status_t *const

The threshold state

Returns

Type: int32_t

ERR_NONE