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.
When set to true the DAC is only enabled once for each scan.
When set to true the DAC is started a half clock cycle before sensor interaction starts.
When set to true, LESENSE controls DAC channel 0.
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.
dacCh1Data#
LESENSE_ControlDACData_TypeDef LESENSE_PerCtrlDesc_TypeDef::dacCh1Data
Configure DAC channel 1 data control.
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.
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.
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.
dacCh0En#
bool LESENSE_PerCtrlDesc_TypeDef::dacCh0En
When set to true, LESENSE controls DAC channel 0.
dacCh1En#
bool LESENSE_PerCtrlDesc_TypeDef::dacCh1En
When set to true, LESENSE controls DAC channel 1.