LESENSE_ConfAltEx_TypeDef Struct Reference

Configuration structure for the alternate excitation.

#include <em_lesense.h>

Data Fields

LESENSE_AltExMap_TypeDef altExMap
Select alternate excitation mapping.
LESENSE_AltExDesc_TypeDef AltEx [16]
Alternate excitation channel descriptors.

Configuration structure for the alternate excitation.

Field Documentation

altExMap

LESENSE_AltExMap_TypeDef LESENSE_ConfAltEx_TypeDef::altExMap

Select alternate excitation mapping.

AltEx

LESENSE_AltExDesc_TypeDef LESENSE_ConfAltEx_TypeDef::AltEx[16]

Alternate excitation channel descriptors.

When altExMap==lesenseAltExMapALTEX, only the 8 first descriptors are used. In this mode they describe the configuration of LES_ALTEX0-7 pins. When altExMap==lesenseAltExMapACMP, all 16 descriptors are used. In this mode they describe the configuration of the 16 possible ACMP0-1 excitation channels. Please refer to the user manual for a complete mapping of routing. NOTE: Some parameters in the descriptors are not valid when altExMap==lesenseAltExMapACMP. Refer to the definition of the LESENSE_AltExDesc_TypeDef structure for details regarding which parameters are valid.