Quadrature Decoder configuration structure.
Data Fields | |
uint32_t | resolution |
Selects the quadrature encoding mode. More... | |
uint32_t | interruptSources |
Enables an interrupt on the terminal count, capture or compare. More... | |
uint32_t | indexInputMode |
Configures how the index input behaves. More... | |
uint32_t | indexInput |
Selects which input the index uses. More... | |
uint32_t | stopInputMode |
Configures how the stop input behaves. More... | |
uint32_t | stopInput |
Selects which input the stop uses. More... | |
uint32_t | phiAInput |
Selects which input the phiA uses. More... | |
uint32_t | phiBInput |
Selects which input the phiB uses. More... | |
bool | buffer_swap_enable |
Configures swapping mechanism between CC0 and buffered CC0, CC1 and buffered CC1, PERIOD and buffered PERIOD, DT and buffered DT. | |
uint32_t cy_stc_tcpwm_quaddec_config_t::resolution |
Selects the quadrature encoding mode.
uint32_t cy_stc_tcpwm_quaddec_config_t::interruptSources |
Enables an interrupt on the terminal count, capture or compare.
uint32_t cy_stc_tcpwm_quaddec_config_t::indexInputMode |
Configures how the index input behaves.
See Input Modes
uint32_t cy_stc_tcpwm_quaddec_config_t::indexInput |
Selects which input the index uses.
The inputs are device-specific. See TCPWM Input Selection
uint32_t cy_stc_tcpwm_quaddec_config_t::stopInputMode |
Configures how the stop input behaves.
See Input Modes
uint32_t cy_stc_tcpwm_quaddec_config_t::stopInput |
Selects which input the stop uses.
The inputs are device-specific. See TCPWM Input Selection
uint32_t cy_stc_tcpwm_quaddec_config_t::phiAInput |
Selects which input the phiA uses.
The inputs are device specific. See TCPWM Input Selection
uint32_t cy_stc_tcpwm_quaddec_config_t::phiBInput |
Selects which input the phiB uses.
The inputs are device specific. See TCPWM Input Selection