EZR32 Leopard Gecko Software Documentation  ezr32lg-doc-5.1.2
LESENSE_DecCtrlDesc_TypeDef Struct Reference

Detailed Description

LESENSE decoder control descriptor structure.

Definition at line 699 of file em_lesense.h.

#include <em_lesense.h>

Data Fields

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

Field Documentation

bool LESENSE_DecCtrlDesc_TypeDef::chkState

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

Definition at line 709 of file em_lesense.h.

Referenced by LESENSE_Init().

LESENSE_DecInput_TypeDef LESENSE_DecCtrlDesc_TypeDef::decInput

Select the input to the LESENSE decoder.

Definition at line 702 of file em_lesense.h.

Referenced by LESENSE_Init().

bool LESENSE_DecCtrlDesc_TypeDef::hystIRQ

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

Definition at line 729 of file em_lesense.h.

Referenced by LESENSE_Init().

bool LESENSE_DecCtrlDesc_TypeDef::hystPRS0

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

Definition at line 717 of file em_lesense.h.

Referenced by LESENSE_Init().

bool LESENSE_DecCtrlDesc_TypeDef::hystPRS1

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

Definition at line 721 of file em_lesense.h.

Referenced by LESENSE_Init().

bool LESENSE_DecCtrlDesc_TypeDef::hystPRS2

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

Definition at line 725 of file em_lesense.h.

Referenced by LESENSE_Init().

uint32_t LESENSE_DecCtrlDesc_TypeDef::initState

Initial state of the LESENSE decoder.

Definition at line 705 of file em_lesense.h.

Referenced by LESENSE_Init().

bool LESENSE_DecCtrlDesc_TypeDef::intMap

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

Definition at line 713 of file em_lesense.h.

Referenced by LESENSE_Init().

LESENSE_PRSSel_TypeDef LESENSE_DecCtrlDesc_TypeDef::prsChSel0

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

Definition at line 736 of file em_lesense.h.

Referenced by LESENSE_Init().

LESENSE_PRSSel_TypeDef LESENSE_DecCtrlDesc_TypeDef::prsChSel1

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

Definition at line 739 of file em_lesense.h.

Referenced by LESENSE_Init().

LESENSE_PRSSel_TypeDef LESENSE_DecCtrlDesc_TypeDef::prsChSel2

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

Definition at line 742 of file em_lesense.h.

Referenced by LESENSE_Init().

LESENSE_PRSSel_TypeDef LESENSE_DecCtrlDesc_TypeDef::prsChSel3

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

Definition at line 745 of file em_lesense.h.

Referenced by LESENSE_Init().

bool LESENSE_DecCtrlDesc_TypeDef::prsCount

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 733 of file em_lesense.h.

Referenced by LESENSE_Init().


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