Data Structures

group group_tcpwm_data_structures_quaddec
struct cy_stc_tcpwm_quaddec_config_t
#include <cy_tcpwm_quaddec.h>

Quadrature Decoder configuration structure.

Public Members

uint32_t resolution

Selects the quadrature encoding mode.

See QuadDec Resolution

uint32_t interruptSources

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

See Interrupt Sources

uint32_t indexInputMode

Configures how the index input behaves.

See Input Modes

uint32_t indexInput

Selects which input the index uses.

The inputs are device-specific. See TCPWM Input Selection

uint32_t stopInputMode

Configures how the stop input behaves.

See Input Modes

uint32_t stopInput

Selects which input the stop uses.

The inputs are device-specific. See TCPWM Input Selection

uint32_t phiAInput

Selects which input the phiA uses.

The inputs are device specific. See TCPWM Input Selection

uint32_t phiBInput

Selects which input the phiB uses.

The inputs are device specific. See TCPWM Input Selection