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.
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#
scanStart#
LESENSE_ScanMode_TypeDef LESENSE_CoreCtrlDesc_TypeDef::scanStart
Select scan start mode to control how the scan start is being triggered.
prsSel#
LESENSE_PRSSel_TypeDef LESENSE_CoreCtrlDesc_TypeDef::prsSel
Select PRS source for scan start if scanMode is set to lesensePrsPulse.
scanConfSel#
LESENSE_ScanConfSel_TypeDef LESENSE_CoreCtrlDesc_TypeDef::scanConfSel
Select scan configuration register usage strategy.
dualSample#
bool LESENSE_CoreCtrlDesc_TypeDef::dualSample
Set to true to sample both ACMPs simultaneously.
storeScanRes#
bool LESENSE_CoreCtrlDesc_TypeDef::storeScanRes
Set to true in order to store SCANRES in the RAM (accessible via RESDATA) after each scan.
fifoTrigLevel#
uint8_t LESENSE_CoreCtrlDesc_TypeDef::fifoTrigLevel
Select result FIFO interrupt and DMA trigger level.
wakeupOnDMA#
LESENSE_DMAWakeUp_TypeDef LESENSE_CoreCtrlDesc_TypeDef::wakeupOnDMA
Configure trigger condition for the DMA wakeup from EM2.
debugRun#
bool LESENSE_CoreCtrlDesc_TypeDef::debugRun
Set to true to keep LESENSE running in the debug mode.