LESENSE decoder control descriptor structure.
Public Attributes#
Select input to the LESENSE decoder.
Initial state of the LESENSE decoder.
Set to enable decoder to check the present state in addition to the states defined in TCONF.
When set, a transition from state x in decoder will set the interrupt flag CHx.
Set to enable hysteresis in decoder for suppressing the changes on PRS channel 0.
Set to enable hysteresis in decoder for suppressing the changes on PRS channel 1.
Set to enable hysteresis in decoder for suppressing the changes on PRS channel 2.
Set to enable hysteresis in decoder for suppressing the interrupt requests.
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.
Select PRS channel input for bit 0 of LESENSE decoder.
Select PRS channel input for bit 1 of LESENSE decoder.
Select PRS channel input for bit 2 of LESENSE decoder.
Select PRS channel input for bit 3 of LESENSE decoder.
Public Attribute Documentation#
decInput#
LESENSE_DecInput_TypeDef LESENSE_DecCtrlDesc_TypeDef::decInput
Select input to the LESENSE decoder.
872
of file platform/emlib/inc/em_lesense.h
initState#
uint32_t LESENSE_DecCtrlDesc_TypeDef::initState
Initial state of the LESENSE decoder.
875
of file platform/emlib/inc/em_lesense.h
chkState#
bool LESENSE_DecCtrlDesc_TypeDef::chkState
Set to enable decoder to check the present state in addition to the states defined in TCONF.
880
of file platform/emlib/inc/em_lesense.h
intMap#
bool LESENSE_DecCtrlDesc_TypeDef::intMap
When set, a transition from state x in decoder will set the interrupt flag CHx.
884
of file platform/emlib/inc/em_lesense.h
hystPRS0#
bool LESENSE_DecCtrlDesc_TypeDef::hystPRS0
Set to enable hysteresis in decoder for suppressing the changes on PRS channel 0.
888
of file platform/emlib/inc/em_lesense.h
hystPRS1#
bool LESENSE_DecCtrlDesc_TypeDef::hystPRS1
Set to enable hysteresis in decoder for suppressing the changes on PRS channel 1.
892
of file platform/emlib/inc/em_lesense.h
hystPRS2#
bool LESENSE_DecCtrlDesc_TypeDef::hystPRS2
Set to enable hysteresis in decoder for suppressing the changes on PRS channel 2.
896
of file platform/emlib/inc/em_lesense.h
hystIRQ#
bool LESENSE_DecCtrlDesc_TypeDef::hystIRQ
Set to enable hysteresis in decoder for suppressing the interrupt requests.
900
of file platform/emlib/inc/em_lesense.h
prsCount#
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.
904
of file platform/emlib/inc/em_lesense.h
prsChSel0#
LESENSE_PRSSel_TypeDef LESENSE_DecCtrlDesc_TypeDef::prsChSel0
Select PRS channel input for bit 0 of LESENSE decoder.
908
of file platform/emlib/inc/em_lesense.h
prsChSel1#
LESENSE_PRSSel_TypeDef LESENSE_DecCtrlDesc_TypeDef::prsChSel1
Select PRS channel input for bit 1 of LESENSE decoder.
911
of file platform/emlib/inc/em_lesense.h
prsChSel2#
LESENSE_PRSSel_TypeDef LESENSE_DecCtrlDesc_TypeDef::prsChSel2
Select PRS channel input for bit 2 of LESENSE decoder.
914
of file platform/emlib/inc/em_lesense.h
prsChSel3#
LESENSE_PRSSel_TypeDef LESENSE_DecCtrlDesc_TypeDef::prsChSel3
Select PRS channel input for bit 3 of LESENSE decoder.
917
of file platform/emlib/inc/em_lesense.h