PSOC E8XXGP Device Support Library

| PSOC E8XXGP Device Support Library

Macros
Counter Direction
PDL API Reference » TCPWM (Timer Counter PWM) » Timer/Counter (TCPWM) » Macros

## General Description

The counter directions.

## Macros
#define | CY_TCPWM_COUNTER_COUNT_UP (0U)
| Counter counts up.
#define | CY_TCPWM_COUNTER_COUNT_DOWN (1U)
| Counter counts down.
#define | CY_TCPWM_COUNTER_COUNT_UP_DOWN_1 (2U)
| Counter counts up and down terminal count only occurs on underflow.
#define | CY_TCPWM_COUNTER_COUNT_UP_DOWN_2 (3U)
| Counter counts up and down terminal count occurs on both overflow and underflow.