LESENSE peripheral control descriptor structure.

Public Attributes#

Configure DAC channel 0 data control.

Configure how LESENSE controls ACMP 0.

Configure how LESENSE controls ACMP 1.

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.

Public Attribute Documentation#

dac_channel0_data#

sl_hal_lesense_control_dac_data_t sl_hal_lesense_peripheral_descriptor_t::dac_channel0_data

Configure DAC channel 0 data control.


acmp0_mode#

sl_hal_lesense_control_acmp_t sl_hal_lesense_peripheral_descriptor_t::acmp0_mode

Configure how LESENSE controls ACMP 0.


acmp1_mode#

sl_hal_lesense_control_acmp_t sl_hal_lesense_peripheral_descriptor_t::acmp1_mode

Configure how LESENSE controls ACMP 1.


dac_scan#

bool sl_hal_lesense_peripheral_descriptor_t::dac_scan

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.


dac_startup_half#

bool sl_hal_lesense_peripheral_descriptor_t::dac_startup_half

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.