EFR32 Mighty Gecko 12 Software Documentation  efr32mg12-doc-5.1.2
LESENSE_CoreCtrlDesc_TypeDef Struct Reference

Detailed Description

Core control (LESENSE_CTRL) descriptor structure.

Definition at line 537 of file em_lesense.h.

#include <em_lesense.h>

Data Fields

LESENSE_BiasMode_TypeDef biasMode
 
bool bufOverWr
 
LESENSE_BufTrigLevel_TypeDef bufTrigLevel
 
bool debugRun
 
bool dualSample
 
bool invACMP0
 
bool invACMP1
 
LESENSE_PRSSel_TypeDef prsSel
 
LESENSE_ScanConfSel_TypeDef scanConfSel
 
LESENSE_ScanMode_TypeDef scanStart
 
bool storeScanRes
 
LESENSE_DMAWakeUp_TypeDef wakeupOnDMA
 

Field Documentation

LESENSE_BiasMode_TypeDef LESENSE_CoreCtrlDesc_TypeDef::biasMode

Select bias mode.

Definition at line 572 of file em_lesense.h.

Referenced by LESENSE_Init().

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 563 of file em_lesense.h.

Referenced by LESENSE_Init().

LESENSE_BufTrigLevel_TypeDef LESENSE_CoreCtrlDesc_TypeDef::bufTrigLevel

Select trigger conditions for interrupt and DMA.

Definition at line 566 of file em_lesense.h.

Referenced by LESENSE_Init().

bool LESENSE_CoreCtrlDesc_TypeDef::debugRun

Set to true to keep LESENSE running in debug mode.

Definition at line 575 of file em_lesense.h.

Referenced by LESENSE_Init().

bool LESENSE_CoreCtrlDesc_TypeDef::dualSample

Set to true to sample both ACMPs simultaneously.

Definition at line 555 of file em_lesense.h.

Referenced by LESENSE_Init().

bool LESENSE_CoreCtrlDesc_TypeDef::invACMP0

Set to true to invert ACMP0 output.

Definition at line 549 of file em_lesense.h.

Referenced by LESENSE_Init().

bool LESENSE_CoreCtrlDesc_TypeDef::invACMP1

Set to true to invert ACMP1 output.

Definition at line 552 of file em_lesense.h.

Referenced by LESENSE_Init().

LESENSE_PRSSel_TypeDef LESENSE_CoreCtrlDesc_TypeDef::prsSel

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

Definition at line 543 of file em_lesense.h.

Referenced by LESENSE_Init().

LESENSE_ScanConfSel_TypeDef LESENSE_CoreCtrlDesc_TypeDef::scanConfSel

Select scan configuration register usage strategy.

Definition at line 546 of file em_lesense.h.

Referenced by LESENSE_Init().

LESENSE_ScanMode_TypeDef LESENSE_CoreCtrlDesc_TypeDef::scanStart

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

Definition at line 540 of file em_lesense.h.

Referenced by CAPLESENSE_setupLESENSE(), and LESENSE_Init().

bool LESENSE_CoreCtrlDesc_TypeDef::storeScanRes

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

Definition at line 559 of file em_lesense.h.

Referenced by LESENSE_Init().

LESENSE_DMAWakeUp_TypeDef LESENSE_CoreCtrlDesc_TypeDef::wakeupOnDMA

Configure trigger condition for DMA wakeup from EM2.

Definition at line 569 of file em_lesense.h.

Referenced by LESENSE_Init().


The documentation for this struct was generated from the following file: