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 scanMode is set to lesensePrsPulse.

Select scan configuration register usage strategy.

bool

Set to true to invert ACMP0 output.

bool

Set to true to invert ACMP1 output.

bool

Set to true to sample both ACMPs simultaneously.

bool

Set to true in order to store SCANRES in the RAM (accessible via RESDATA) after each scan.

bool

Set to true in order to always make LESENSE write to the result buffer, even if it is full.

Select trigger conditions for the interrupt and DMA.

Configure trigger condition for the DMA wakeup from EM2.

bool

Set to true to keep LESENSE running in the debug mode.

Public Attribute Documentation#

scanStart#

LESENSE_ScanMode_TypeDef LESENSE_CoreCtrlDesc_TypeDef::scanStart

Select scan start mode to control how the scan start is being triggered.


Definition at line 687 of file platform/emlib/inc/em_lesense.h

prsSel#

LESENSE_PRSSel_TypeDef LESENSE_CoreCtrlDesc_TypeDef::prsSel

Select PRS source for scan start if scanMode is set to lesensePrsPulse.


Definition at line 690 of file platform/emlib/inc/em_lesense.h

scanConfSel#

LESENSE_ScanConfSel_TypeDef LESENSE_CoreCtrlDesc_TypeDef::scanConfSel

Select scan configuration register usage strategy.


Definition at line 693 of file platform/emlib/inc/em_lesense.h

invACMP0#

bool LESENSE_CoreCtrlDesc_TypeDef::invACMP0

Set to true to invert ACMP0 output.


Definition at line 696 of file platform/emlib/inc/em_lesense.h

invACMP1#

bool LESENSE_CoreCtrlDesc_TypeDef::invACMP1

Set to true to invert ACMP1 output.


Definition at line 699 of file platform/emlib/inc/em_lesense.h

dualSample#

bool LESENSE_CoreCtrlDesc_TypeDef::dualSample

Set to true to sample both ACMPs simultaneously.


Definition at line 702 of file platform/emlib/inc/em_lesense.h

storeScanRes#

bool LESENSE_CoreCtrlDesc_TypeDef::storeScanRes

Set to true in order to store SCANRES in the RAM (accessible via RESDATA) after each scan.


Definition at line 706 of file platform/emlib/inc/em_lesense.h

bufOverWr#

bool LESENSE_CoreCtrlDesc_TypeDef::bufOverWr

Set to true in order to always make LESENSE write to the result buffer, even if it is full.


Definition at line 711 of file platform/emlib/inc/em_lesense.h

bufTrigLevel#

LESENSE_BufTrigLevel_TypeDef LESENSE_CoreCtrlDesc_TypeDef::bufTrigLevel

Select trigger conditions for the interrupt and DMA.


Definition at line 716 of file platform/emlib/inc/em_lesense.h

wakeupOnDMA#

LESENSE_DMAWakeUp_TypeDef LESENSE_CoreCtrlDesc_TypeDef::wakeupOnDMA

Configure trigger condition for the DMA wakeup from EM2.


Definition at line 723 of file platform/emlib/inc/em_lesense.h

biasMode#

LESENSE_BiasMode_TypeDef LESENSE_CoreCtrlDesc_TypeDef::biasMode

Select bias mode.


Definition at line 727 of file platform/emlib/inc/em_lesense.h

debugRun#

bool LESENSE_CoreCtrlDesc_TypeDef::debugRun

Set to true to keep LESENSE running in the debug mode.


Definition at line 731 of file platform/emlib/inc/em_lesense.h