LESENSE peripheral control descriptor structure.

Public Attributes#

Configure DAC channel 0 data control.

Configure how LESENSE controls conversion on DAC channel 0.

Configure how LESENSE controls output on DAC channel 0.

Configure DAC channel 1 data control.

Configure how LESENSE controls conversion on DAC channel 1.

Configure how LESENSE controls output on DAC channel 1.

uint8_t

Configure the prescaling factor for the LESENSE - DAC interface.

Configure the DAC reference to be used.

Configure how LESENSE controls ACMP 0.

Configure how LESENSE controls ACMP 1.

Configure how LESENSE controls ACMPs and DAC in idle mode.

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

dacCh0ConvMode#

LESENSE_ControlDACConv_TypeDef LESENSE_PerCtrlDesc_TypeDef::dacCh0ConvMode

Configure how LESENSE controls conversion on DAC channel 0.


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

dacCh0OutMode#

LESENSE_ControlDACOut_TypeDef LESENSE_PerCtrlDesc_TypeDef::dacCh0OutMode

Configure how LESENSE controls output on DAC channel 0.


Definition at line 799 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

dacCh1ConvMode#

LESENSE_ControlDACConv_TypeDef LESENSE_PerCtrlDesc_TypeDef::dacCh1ConvMode

Configure how LESENSE controls conversion on DAC channel 1.


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

dacCh1OutMode#

LESENSE_ControlDACOut_TypeDef LESENSE_PerCtrlDesc_TypeDef::dacCh1OutMode

Configure how LESENSE controls output on DAC channel 1.


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

dacPresc#

uint8_t LESENSE_PerCtrlDesc_TypeDef::dacPresc

Configure the prescaling factor for the LESENSE - DAC interface.

Valid range: 0-31 (5-bit).


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

dacRef#

LESENSE_DACRef_TypeDef LESENSE_PerCtrlDesc_TypeDef::dacRef

Configure the DAC reference to be used.

Set to lesenseDACRefVdd to use VDD and set to lesenseDACRefBandGap to use band gap as reference.


Definition at line 826 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