PSOC E8XXGP Device Support Library

| PSOC E8XXGP Device Support Library

Macros
QuadDec Mode
PDL API Reference » TCPWM (Timer Counter PWM) » Quadrature Decoder (TCPWM) » Macros

## General Description

The quadrature decoder mode.

## Macros
#define | CY_TCPWM_QUADDEC_MODE_RANGE0 (0U)
| Counter Range between 0x0000 and 0xFFFF / 0xFFFFFFFF (for GRP_CNT_WIDTH = 16 / 32)
#define | CY_TCPWM_QUADDEC_MODE_RANGE0_CMP (1U)
| Counter Range0 with a compare function.
#define | CY_TCPWM_QUADDEC_MODE_RANGE1_CAPT (2U)
| COUNTER range is between 0x0000 and PERIOD with 1 or 2 Capture functions.
#define | CY_TCPWM_QUADDEC_MODE_RANGE1_CMP (3U)
| Same as QUAD_RANGE1_CAPT with 1 or 2 Compare functions.