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... | |
| 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