LESENSE_DecStCond_TypeDef Struct Reference
[LESENSE]

#include <em_lesense.h>

Collaboration diagram for LESENSE_DecStCond_TypeDef:
Collaboration graph
[legend]

Data Fields

uint8_t compVal
uint8_t compMask
uint8_t nextState
LESENSE_StTransAct_TypeDef prsAct
bool setInt

Detailed Description

Decoder state condition descriptor structure.

Definition at line 914 of file em_lesense.h.


Field Documentation

Configure compare mask. Set bit X to exclude sensor X from evaluation. Note: decoder can handle sensor inputs from up to 4 sensors, therefore this mask is 4 bit long.

Definition at line 923 of file em_lesense.h.

Referenced by LESENSE_DecoderStateConfig().

Configure compare value. State transition is triggered when sensor state equals to this value. Valid range: 0-15 (4 bits).

Definition at line 918 of file em_lesense.h.

Referenced by LESENSE_DecoderStateConfig().

Configure index of state to be entered if the sensor state equals to compVal. Valid range: 0-15 (4 bits).

Definition at line 927 of file em_lesense.h.

Referenced by LESENSE_DecoderStateConfig().

Configure which PRS action to perform when sensor state equals to compVal.

Definition at line 931 of file em_lesense.h.

Referenced by LESENSE_DecoderStateConfig().

If enabled, interrupt flag is set when sensor state equals to compVal.

Definition at line 934 of file em_lesense.h.

Referenced by LESENSE_DecoderStateConfig().


The documentation for this struct was generated from the following file: