PSoC 4 Peripheral Driver Library - Alpha
cy_stc_tcpwm_quaddec_config_t Struct Reference

Description

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

Field Documentation

◆ resolution

uint32_t cy_stc_tcpwm_quaddec_config_t::resolution

Selects the quadrature encoding mode.

See QuadDec Resolution

◆ interruptSources

uint32_t cy_stc_tcpwm_quaddec_config_t::interruptSources

Enables an interrupt on the terminal count, capture or compare.

See Interrupt Sources

◆ indexInputMode

uint32_t cy_stc_tcpwm_quaddec_config_t::indexInputMode

Configures how the index input behaves.

See Input Modes

◆ indexInput

uint32_t cy_stc_tcpwm_quaddec_config_t::indexInput

Selects which input the index uses.

The inputs are device-specific. See TCPWM Input Selection

◆ stopInputMode

uint32_t cy_stc_tcpwm_quaddec_config_t::stopInputMode

Configures how the stop input behaves.

See Input Modes

◆ stopInput

uint32_t cy_stc_tcpwm_quaddec_config_t::stopInput

Selects which input the stop uses.

The inputs are device-specific. See TCPWM Input Selection

◆ phiAInput

uint32_t cy_stc_tcpwm_quaddec_config_t::phiAInput

Selects which input the phiA uses.

The inputs are device specific. See TCPWM Input Selection

◆ phiBInput

uint32_t cy_stc_tcpwm_quaddec_config_t::phiBInput

Selects which input the phiB uses.

The inputs are device specific. See TCPWM Input Selection