LESENSE_DecCtrlDesc_TypeDef Struct Reference
[LESENSE]

#include <em_lesense.h>

Collaboration diagram for LESENSE_DecCtrlDesc_TypeDef:
Collaboration graph
[legend]

Data Fields

LESENSE_DecInput_TypeDef decInput
uint32_t initState
bool chkState
bool intMap
bool hystPRS0
bool hystPRS1
bool hystPRS2
bool hystIRQ
bool prsCount
LESENSE_PRSSel_TypeDef prsChSel0
LESENSE_PRSSel_TypeDef prsChSel1
LESENSE_PRSSel_TypeDef prsChSel2
LESENSE_PRSSel_TypeDef prsChSel3

Detailed Description

LESENSE decoder control descriptor structure.

Definition at line 588 of file em_lesense.h.


Field Documentation

Set to enable the decoder to check the present state in addition to the states defined in DECCONF.

Definition at line 598 of file em_lesense.h.

Referenced by LESENSE_Init().

Select the input to the LESENSE decoder.

Definition at line 591 of file em_lesense.h.

Referenced by LESENSE_Init().

Set to enable hysteresis in the decoder for suppressing interrupt requests.

Definition at line 618 of file em_lesense.h.

Referenced by LESENSE_Init().

Set to enable hysteresis in the decoder for suppressing changes on PRS channel 0.

Definition at line 606 of file em_lesense.h.

Referenced by LESENSE_Init().

Set to enable hysteresis in the decoder for suppressing changes on PRS channel 1.

Definition at line 610 of file em_lesense.h.

Referenced by LESENSE_Init().

Set to enable hysteresis in the decoder for suppressing changes on PRS channel 2.

Definition at line 614 of file em_lesense.h.

Referenced by LESENSE_Init().

Initial state of the LESENSE decoder.

Definition at line 594 of file em_lesense.h.

Referenced by LESENSE_Init().

When set, a transition from state x in the decoder will set interrupt flag CHx.

Definition at line 602 of file em_lesense.h.

Referenced by LESENSE_Init().

Select PRS channel input for bit 0 of the LESENSE decoder.

Definition at line 625 of file em_lesense.h.

Referenced by LESENSE_Init().

Select PRS channel input for bit 1 of the LESENSE decoder.

Definition at line 628 of file em_lesense.h.

Referenced by LESENSE_Init().

Select PRS channel input for bit 2 of the LESENSE decoder.

Definition at line 631 of file em_lesense.h.

Referenced by LESENSE_Init().

Select PRS channel input for bit 3 of the LESENSE decoder.

Definition at line 634 of file em_lesense.h.

Referenced by LESENSE_Init().

Set to enable count mode on decoder PRS channels 0 and 1 to produce outputs which can be used by a PCNT to count up or down.

Definition at line 622 of file em_lesense.h.

Referenced by LESENSE_Init().


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