Core control (LESENSE_CTRL/CFG) descriptor structure.
Public Attributes#
Select scan start mode to control how the scan start is being triggered.
Select PRS source for scan start if scan_mode is set to LESENSE PRS pulse.
Select scan configuration register usage strategy.
Set to true to invert ACMP0 output.
Set to true to invert ACMP1 output.
Set to true to sample both ACMPs simultaneously.
Set to true in order to store SCANRES in the RAM (accessible via RESDATA) after each scan.
Select result FIFO interrupt and DMA trigger level.
Configure trigger condition for the DMA wakeup from EM2.
Set to true to keep LESENSE running in the debug mode.
Public Attribute Documentation#
scan_start#
sl_hal_lesense_scan_mode_t sl_hal_lesense_core_descriptor_t::scan_start
Select scan start mode to control how the scan start is being triggered.
prs_source#
sl_hal_lesense_prs_source_t sl_hal_lesense_core_descriptor_t::prs_source
Select PRS source for scan start if scan_mode is set to LESENSE PRS pulse.
scan_config_select#
sl_hal_lesense_scan_config_t sl_hal_lesense_core_descriptor_t::scan_config_select
Select scan configuration register usage strategy.
dual_sample#
bool sl_hal_lesense_core_descriptor_t::dual_sample
Set to true to sample both ACMPs simultaneously.
store_scanres#
bool sl_hal_lesense_core_descriptor_t::store_scanres
Set to true in order to store SCANRES in the RAM (accessible via RESDATA) after each scan.
fifo_trigger_level#
uint8_t sl_hal_lesense_core_descriptor_t::fifo_trigger_level
Select result FIFO interrupt and DMA trigger level.
wakeup_on_dma#
bool sl_hal_lesense_core_descriptor_t::wakeup_on_dma
Configure trigger condition for the DMA wakeup from EM2.
debug_run#
bool sl_hal_lesense_core_descriptor_t::debug_run
Set to true to keep LESENSE running in the debug mode.