LESENSE_CoreCtrlDesc_TypeDef Struct Reference
Core control (LESENSE_CTRL/CFG) descriptor structure.
#include <em_lesense.h>
Data Fields |
|
LESENSE_ScanMode_TypeDef | scanStart |
Select scan start mode to control how the scan start is being triggered.
|
|
LESENSE_PRSSel_TypeDef | prsSel |
Select PRS source for scan start if scanMode is set to lesensePrsPulse.
|
|
LESENSE_ScanConfSel_TypeDef | scanConfSel |
Select scan configuration register usage strategy.
|
|
bool | invACMP0 |
Set to true to invert ACMP0 output.
|
|
bool | invACMP1 |
Set to true to invert ACMP1 output.
|
|
bool | dualSample |
Set to true to sample both ACMPs simultaneously.
|
|
bool | storeScanRes |
Set to true in order to store SCANRES in the RAM (accessible via RESDATA) after each scan.
|
|
bool | bufOverWr |
Set to true in order to always make LESENSE write to the result buffer, even if it is full.
|
|
LESENSE_BufTrigLevel_TypeDef | bufTrigLevel |
Select trigger conditions for the interrupt and DMA.
|
|
LESENSE_DMAWakeUp_TypeDef | wakeupOnDMA |
Configure trigger condition for the DMA wakeup from EM2.
|
|
LESENSE_BiasMode_TypeDef | biasMode |
Select bias mode.
|
|
bool | debugRun |
Set to true to keep LESENSE running in the debug mode.
|
|
Core control (LESENSE_CTRL/CFG) descriptor structure.
Field 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.
◆ invACMP0
bool LESENSE_CoreCtrlDesc_TypeDef::invACMP0 |
Set to true to invert ACMP0 output.
◆ invACMP1
bool LESENSE_CoreCtrlDesc_TypeDef::invACMP1 |
Set to true to invert ACMP1 output.
◆ 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.
◆ 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.
◆ bufTrigLevel
LESENSE_BufTrigLevel_TypeDef LESENSE_CoreCtrlDesc_TypeDef::bufTrigLevel |
Select trigger conditions for the interrupt and DMA.