Initialization structure.

Public Attributes#

bool

Adds a scan entry's ID to each FIFO result.

bool

Enables halting the ADC in debug mode.

uint16_t

Controls the max threshold.

uint16_t

Controls the min threshold.

Controls the warmup mode.

Selects trigger to start a scan sequence.

Selects the action mode after a trigger (Single or Continuous).

Selects number of cycles between every scan in continuous action mode.

Selects the ADC result alignment.

Controls the data valid level before requesting DMA transfer.

Configurations entries.

ADC scan table entries.

Public Attribute Documentation#

show_id#

bool sl_hal_adc_init_t::show_id

Adds a scan entry's ID to each FIFO result.


debug_halt#

bool sl_hal_adc_init_t::debug_halt

Enables halting the ADC in debug mode.


greater_than#

uint16_t sl_hal_adc_init_t::greater_than

Controls the max threshold.


less_than#

uint16_t sl_hal_adc_init_t::less_than

Controls the min threshold.


warmup_mode#

sl_hal_adc_warmup_mode_t sl_hal_adc_init_t::warmup_mode

Controls the warmup mode.


voltage_reference#

sl_hal_adc_voltage_reference_t sl_hal_adc_init_t::voltage_reference

Selects voltage reference.


scan_trigger#

sl_hal_adc_trigger_t sl_hal_adc_init_t::scan_trigger

Selects trigger to start a scan sequence.


scan_trigger_action#

sl_hal_adc_trigger_action_t sl_hal_adc_init_t::scan_trigger_action

Selects the action mode after a trigger (Single or Continuous).


repetition_delay#

sl_hal_adc_repetition_delay_t sl_hal_adc_init_t::repetition_delay

Selects number of cycles between every scan in continuous action mode.


alignment#

sl_hal_adc_alignment_t sl_hal_adc_init_t::alignment

Selects the ADC result alignment.


data_valid#

sl_hal_adc_data_valid_t sl_hal_adc_init_t::data_valid

Controls the data valid level before requesting DMA transfer.


config#

sl_hal_adc_config_t sl_hal_adc_init_t::config[SL_HAL_ADC_CONFIG_ID_MAX]

Configurations entries.


entries#

sl_hal_adc_scan_entry_t sl_hal_adc_init_t::entries[SL_HAL_ADC_CHANNEL_ID_MAX]

ADC scan table entries.