LESENSE decoder control descriptor structure.

Public Attributes#

bool

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

bool

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

bool

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

bool

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

bool

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

bool

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

bool

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#

check_state#

bool sl_hal_lesense_decoder_descriptor_t::check_state

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


interrupt_map#

bool sl_hal_lesense_decoder_descriptor_t::interrupt_map

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


hysteresis_prs0#

bool sl_hal_lesense_decoder_descriptor_t::hysteresis_prs0

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


hysteresis_prs1#

bool sl_hal_lesense_decoder_descriptor_t::hysteresis_prs1

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


hysteresis_prs2#

bool sl_hal_lesense_decoder_descriptor_t::hysteresis_prs2

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


hysteresis_irq#

bool sl_hal_lesense_decoder_descriptor_t::hysteresis_irq

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


prs_count#

bool sl_hal_lesense_decoder_descriptor_t::prs_count

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.