EFM32 Leopard Gecko Software Documentation  efm32lg-doc-4.2.1
LESENSE_CoreCtrlDesc_TypeDef Struct Reference

#include <em_lesense.h>

Data Fields

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

Detailed Description

Core control (LESENSE_CTRL) descriptor structure.

Definition at line 476 of file em_lesense.h.

Field Documentation

LESENSE_ScanMode_TypeDef LESENSE_CoreCtrlDesc_TypeDef::scanStart

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

Definition at line 479 of file em_lesense.h.

Referenced by CAPLESENSE_setupLESENSE(), and LESENSE_Init().

LESENSE_PRSSel_TypeDef LESENSE_CoreCtrlDesc_TypeDef::prsSel

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

Definition at line 482 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 485 of file em_lesense.h.

Referenced by LESENSE_Init().

bool LESENSE_CoreCtrlDesc_TypeDef::invACMP0

Set to true to invert ACMP0 output.

Definition at line 488 of file em_lesense.h.

Referenced by LESENSE_Init().

bool LESENSE_CoreCtrlDesc_TypeDef::invACMP1

Set to true to invert ACMP1 output.

Definition at line 491 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 494 of file em_lesense.h.

Referenced by 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 498 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 502 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 505 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 508 of file em_lesense.h.

Referenced by LESENSE_Init().

LESENSE_BiasMode_TypeDef LESENSE_CoreCtrlDesc_TypeDef::biasMode

Select bias mode.

Definition at line 511 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 514 of file em_lesense.h.

Referenced by LESENSE_Init().


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