MTB CAT1 Peripheral driver library
cy_stc_tcpwm_motif_quaddec_config_t Struct Reference

Description

Quadrature decoder configuration structure.

Data Fields

cy_en_position_decoder_mode_t position_decoder_mode
 Sets the position decoder mode to either quadrature mode or Direction count mode. More...
 
bool phase_A_level_selector
 Sets Phase A level Selector. More...
 
bool phase_B_level_selector
 Sets Phase B level Selector. More...
 
bool phase_signal_swap
 0: Sets Phase A leading signal for clockwise rotation. More...
 
bool index_signal_level_selector
 Sets Index signal level Selector. More...
 
cy_en_quaddec_index_occurrence_t progindex_occurrence
 Sets PROGIndex output event occurrence configuration. More...
 
cy_en_tcpwm_edge_config_t phae_A_edge_mode
 Sets edge mode for Phase A.
 
cy_en_tcpwm_edge_config_t phae_B_edge_mode
 Sets edge mode for Phase B.
 
cy_en_quaddec_signal_selector_t clock_signal_for_phase_A
 Sets input signal for Phase A.
 
cy_en_quaddec_signal_selector_t clock_signal_for_phase_B
 Sets input signal for Phase B.
 
cy_en_quaddec_signal_selector_t clock_signal_for_index
 Sets input signal for index.
 
cy_en_low_pass_filter_config_t low_pass_filter_config
 low pass filter config
 
cy_stc_quaddec_output_config_toutput_config
 Configuration for output events of quaddec.
 

Field Documentation

◆ position_decoder_mode

cy_en_position_decoder_mode_t cy_stc_tcpwm_motif_quaddec_config_t::position_decoder_mode

Sets the position decoder mode to either quadrature mode or Direction count mode.

◆ phase_A_level_selector

bool cy_stc_tcpwm_motif_quaddec_config_t::phase_A_level_selector

Sets Phase A level Selector.

0:Active high, 1: Active Low

◆ phase_B_level_selector

bool cy_stc_tcpwm_motif_quaddec_config_t::phase_B_level_selector

Sets Phase B level Selector.

0:Active high, 1: Active Low

◆ phase_signal_swap

bool cy_stc_tcpwm_motif_quaddec_config_t::phase_signal_swap

0: Sets Phase A leading signal for clockwise rotation.

1: Sets Phase B leading signal for clockwise rotation.

◆ index_signal_level_selector

bool cy_stc_tcpwm_motif_quaddec_config_t::index_signal_level_selector

Sets Index signal level Selector.

0:Active high, 1: Active Low

◆ progindex_occurrence

cy_en_quaddec_index_occurrence_t cy_stc_tcpwm_motif_quaddec_config_t::progindex_occurrence

Sets PROGIndex output event occurrence configuration.