LESENSE peripheral control descriptor structure.

Public Attributes#

Configure DAC channel 0 data control.

Configure DAC channel 1 data control.

Configure how LESENSE controls ACMP 0.

Configure how LESENSE controls ACMP 1.

Configure how LESENSE controls ACMPs and DAC in idle mode.

bool

When set to true the DAC is only enabled once for each scan.

bool

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

bool

When set to true, LESENSE controls DAC channel 0.

bool

When set to true, LESENSE controls DAC channel 1.

Public Attribute Documentation#

dacCh0Data#

LESENSE_ControlDACData_TypeDef LESENSE_PerCtrlDesc_TypeDef::dacCh0Data

Configure DAC channel 0 data control.


Definition at line 790 of file platform/emlib/inc/em_lesense.h

dacCh1Data#

LESENSE_ControlDACData_TypeDef LESENSE_PerCtrlDesc_TypeDef::dacCh1Data

Configure DAC channel 1 data control.


Definition at line 804 of file platform/emlib/inc/em_lesense.h

acmp0Mode#

LESENSE_ControlACMP_TypeDef LESENSE_PerCtrlDesc_TypeDef::acmp0Mode

Configure how LESENSE controls ACMP 0.


Definition at line 830 of file platform/emlib/inc/em_lesense.h

acmp1Mode#

LESENSE_ControlACMP_TypeDef LESENSE_PerCtrlDesc_TypeDef::acmp1Mode

Configure how LESENSE controls ACMP 1.


Definition at line 833 of file platform/emlib/inc/em_lesense.h

warmupMode#

LESENSE_WarmupMode_TypeDef LESENSE_PerCtrlDesc_TypeDef::warmupMode

Configure how LESENSE controls ACMPs and DAC in idle mode.


Definition at line 837 of file platform/emlib/inc/em_lesense.h

dacScan#

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 843 of file platform/emlib/inc/em_lesense.h

dacStartupHalf#

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 849 of file platform/emlib/inc/em_lesense.h

dacCh0En#

bool LESENSE_PerCtrlDesc_TypeDef::dacCh0En

When set to true, LESENSE controls DAC channel 0.


Definition at line 854 of file platform/emlib/inc/em_lesense.h

dacCh1En#

bool LESENSE_PerCtrlDesc_TypeDef::dacCh1En

When set to true, LESENSE controls DAC channel 1.


Definition at line 859 of file platform/emlib/inc/em_lesense.h