LESENSE_PerCtrlDesc_TypeDef Struct Reference

LESENSE peripheral control descriptor structure.

Definition at line 565 of file em_lesense.h .

#include < em_lesense.h >

Data Fields

LESENSE_ControlACMP_TypeDef acmp0Mode
LESENSE_ControlACMP_TypeDef acmp1Mode
LESENSE_ControlDACData_TypeDef dacCh0Data
bool dacCh0En
LESENSE_ControlDACData_TypeDef dacCh1Data
bool dacCh1En
bool dacScan
bool dacStartupHalf
LESENSE_WarmupMode_TypeDef warmupMode

Field Documentation

LESENSE_ControlACMP_TypeDef LESENSE_PerCtrlDesc_TypeDef::acmp0Mode

Configure how LESENSE controls ACMP 0.

Definition at line 605 of file em_lesense.h .

Referenced by LESENSE_Init() .

LESENSE_ControlACMP_TypeDef LESENSE_PerCtrlDesc_TypeDef::acmp1Mode

Configure how LESENSE controls ACMP 1.

Definition at line 608 of file em_lesense.h .

Referenced by LESENSE_Init() .

LESENSE_ControlDACData_TypeDef LESENSE_PerCtrlDesc_TypeDef::dacCh0Data

Configure DAC channel 0 data control.

Definition at line 567 of file em_lesense.h .

Referenced by LESENSE_Init() .

bool LESENSE_PerCtrlDesc_TypeDef::dacCh0En

When set to true, LESENSE controls DAC channel 0.

Definition at line 627 of file em_lesense.h .

Referenced by LESENSE_Init() .

LESENSE_ControlDACData_TypeDef LESENSE_PerCtrlDesc_TypeDef::dacCh1Data

Configure DAC channel 1 data control.

Definition at line 580 of file em_lesense.h .

Referenced by LESENSE_Init() .

bool LESENSE_PerCtrlDesc_TypeDef::dacCh1En

When set to true, LESENSE controls DAC channel 1.

Definition at line 632 of file em_lesense.h .

Referenced by LESENSE_Init() .

bool LESENSE_PerCtrlDesc_TypeDef::dacScan

When set to true the DAC is only enabled once for each scan. When set to false the DAC is enabled before every channel measurement.

Definition at line 616 of file em_lesense.h .

Referenced by LESENSE_Init() .

bool LESENSE_PerCtrlDesc_TypeDef::dacStartupHalf

When set to true the DAC is started a half clock cycle before sensor interaction starts. When set to false, a full clock cycle is used.

Definition at line 622 of file em_lesense.h .

Referenced by LESENSE_Init() .

LESENSE_WarmupMode_TypeDef LESENSE_PerCtrlDesc_TypeDef::warmupMode

Configure how LESENSE controls ACMPs and DAC in idle mode.

Definition at line 611 of file em_lesense.h .

Referenced by LESENSE_Init() .


The documentation for this struct was generated from the following file:
  • C:/HandsOn/super/platform/emlib/inc/ em_lesense.h