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.


dacCh0ConvMode#

LESENSE_ControlDACConv_TypeDef LESENSE_PerCtrlDesc_TypeDef::dacCh0ConvMode

Configure how LESENSE controls conversion on DAC channel 0.


dacCh0OutMode#

LESENSE_ControlDACOut_TypeDef LESENSE_PerCtrlDesc_TypeDef::dacCh0OutMode

Configure how LESENSE controls output on DAC channel 0.


dacCh1Data#

LESENSE_ControlDACData_TypeDef LESENSE_PerCtrlDesc_TypeDef::dacCh1Data

Configure DAC channel 1 data control.


dacCh1ConvMode#

LESENSE_ControlDACConv_TypeDef LESENSE_PerCtrlDesc_TypeDef::dacCh1ConvMode

Configure how LESENSE controls conversion on DAC channel 1.


dacCh1OutMode#

LESENSE_ControlDACOut_TypeDef LESENSE_PerCtrlDesc_TypeDef::dacCh1OutMode

Configure how LESENSE controls output on DAC channel 1.


dacPresc#

uint8_t LESENSE_PerCtrlDesc_TypeDef::dacPresc

Configure the prescaling factor for the LESENSE - DAC interface.

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


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.


acmp0Mode#

LESENSE_ControlACMP_TypeDef LESENSE_PerCtrlDesc_TypeDef::acmp0Mode

Configure how LESENSE controls ACMP 0.


acmp1Mode#

LESENSE_ControlACMP_TypeDef LESENSE_PerCtrlDesc_TypeDef::acmp1Mode

Configure how LESENSE controls ACMP 1.


warmupMode#

LESENSE_WarmupMode_TypeDef LESENSE_PerCtrlDesc_TypeDef::warmupMode

Configure how LESENSE controls ACMPs and DAC in idle mode.