LESENSE decoder control descriptor structure.
Public Attributes#
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.
Public Attribute Documentation#
chkState#
bool LESENSE_DecCtrlDesc_TypeDef::chkState
Set to enable decoder to check the present state in addition to the states defined in TCONF.
915
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.
919
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.
923
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.
927
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.
931
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.
935
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.
939
of file platform/emlib/inc/em_lesense.h