ACMP initialization structure.

Public Attributes#

uint32_t

Controls the bias current.

uint32_t

Controls the VDD division factor. VREFOUT = VREFIN * (VREFDIV / 63).

Selects the input range.

Selects the ACMP accuracy mode.

Selects the hysteresis level on rising edge.

Selects the hysteresis level on falling edge.

bool

Inactive value emitted by ACMP during warmup.

Public Attribute Documentation#

bias_prog#

uint32_t sl_hal_acmp_init_t::bias_prog

Controls the bias current.


vref_div#

uint32_t sl_hal_acmp_init_t::vref_div

Controls the VDD division factor. VREFOUT = VREFIN * (VREFDIV / 63).


input_range#

sl_hal_acmp_input_range_t sl_hal_acmp_init_t::input_range

Selects the input range.


accuracy#

sl_hal_acmp_accuracy_t sl_hal_acmp_init_t::accuracy

Selects the ACMP accuracy mode.


hysteresis_rise#

sl_hal_acmp_hysteresis_t sl_hal_acmp_init_t::hysteresis_rise

Selects the hysteresis level on rising edge.


hysteresis_fall#

sl_hal_acmp_hysteresis_t sl_hal_acmp_init_t::hysteresis_fall

Selects the hysteresis level on falling edge.


inactive_value#

bool sl_hal_acmp_init_t::inactive_value

Inactive value emitted by ACMP during warmup.