LESENSE_ChDesc_TypeDef Struct Reference
Channel descriptor structure.
#include <em_lesense.h>
Data Fields |
|
bool | enaScanCh |
Set to enable scan channel CHx.
|
|
bool | enaPin |
Set to enable CHx pin.
|
|
bool | enaInt |
Enable/disable channel interrupts after configuring all the sensor channel parameters.
|
|
LESENSE_ChPinExMode_TypeDef | chPinExMode |
Configure channel pin mode for the excitation phase of the scan sequence.
|
|
LESENSE_ChPinIdleMode_TypeDef | chPinIdleMode |
Configure channel pin idle setup in LESENSE idle phase.
|
|
bool | useAltEx |
Set to use alternate excite pin for excitation.
|
|
bool | shiftRes |
Set to enable result from this channel being shifted into the decoder register.
|
|
bool | invRes |
Set to invert result bit stored in the SCANRES register.
|
|
bool | storeCntRes |
Set to store counter value in the RAM (accessible via RESDATA) and make the comparison result available in the SCANRES register.
|
|
LESENSE_ChClk_TypeDef | exClk |
Select clock used for the excitation timing.
|
|
LESENSE_ChClk_TypeDef | sampleClk |
Select clock used for the sample delay timing.
|
|
uint8_t | exTime |
Configure the excitation time.
|
|
uint8_t | sampleDelay |
Configure the sample delay.
|
|
uint16_t | measDelay |
Configure the measure delay.
|
|
uint16_t | acmpThres |
Configure the ACMP threshold or the DAC data.
|
|
LESENSE_ChSampleMode_TypeDef | sampleMode |
Select if the ACMP output, the ADC output or the counter output should be used in comparison.
|
|
LESENSE_ChIntMode_TypeDef | intMode |
Configure the interrupt generation mode for the CHx interrupt flag.
|
|
uint16_t | cntThres |
Configure the decision threshold for the sensor data comparison.
|
|
LESENSE_ChCompMode_TypeDef | compMode |
Select the mode for counter comparison.
|
|
Channel descriptor structure.
Field Documentation
◆ enaScanCh
bool LESENSE_ChDesc_TypeDef::enaScanCh |
Set to enable scan channel CHx.
◆ enaPin
bool LESENSE_ChDesc_TypeDef::enaPin |
Set to enable CHx pin.
◆ enaInt
bool LESENSE_ChDesc_TypeDef::enaInt |
Enable/disable channel interrupts after configuring all the sensor channel parameters.