LESENSE_DecCtrlDesc_TypeDef Struct Reference
LESENSE decoder control descriptor structure.
#include <em_lesense.h>
Data Fields |
|
bool | chkState |
Set to enable decoder to check the present state in addition to the states defined in TCONF.
|
|
bool | intMap |
When set, a transition from state x in decoder will set the interrupt flag CHx.
|
|
bool | hystPRS0 |
Set to enable hysteresis in decoder for suppressing the changes on PRS channel 0.
|
|
bool | hystPRS1 |
Set to enable hysteresis in decoder for suppressing the changes on PRS channel 1.
|
|
bool | hystPRS2 |
Set to enable hysteresis in decoder for suppressing the changes on PRS channel 2.
|
|
bool | hystIRQ |
Set to enable hysteresis in decoder for suppressing the interrupt requests.
|
|
bool | 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.
|
|
LESENSE decoder control descriptor structure.
Field Documentation
◆ chkState
bool LESENSE_DecCtrlDesc_TypeDef::chkState |
Set to enable decoder to check the present state in addition to the states defined in TCONF.
◆ intMap
bool LESENSE_DecCtrlDesc_TypeDef::intMap |
When set, a transition from state x in decoder will set the interrupt flag CHx.
◆ hystPRS0
bool LESENSE_DecCtrlDesc_TypeDef::hystPRS0 |
Set to enable hysteresis in decoder for suppressing the changes on PRS channel 0.
◆ hystPRS1
bool LESENSE_DecCtrlDesc_TypeDef::hystPRS1 |
Set to enable hysteresis in decoder for suppressing the changes on PRS channel 1.
◆ hystPRS2
bool LESENSE_DecCtrlDesc_TypeDef::hystPRS2 |
Set to enable hysteresis in decoder for suppressing the changes on PRS channel 2.
◆ hystIRQ
bool LESENSE_DecCtrlDesc_TypeDef::hystIRQ |
Set to enable hysteresis in decoder for suppressing the interrupt requests.
◆ 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.