PSOC E8XXGP Device Support Library

| PSOC E8XXGP Device Support Library

Macros
Input Modes
PDL API Reference » TCPWM (Timer Counter PWM) » Common » Macros

## General Description

Configures how TCPWM inputs behave.

## Macros
#define | CY_TCPWM_INPUT_RISINGEDGE (0U)
| A rising edge triggers the event (Capture, Start, Reload, etc..)
#define | CY_TCPWM_INPUT_FALLINGEDGE (1U)
| A falling edge triggers the event (Capture, Start, Reload, etc..)
#define | CY_TCPWM_INPUT_EITHEREDGE (2U)
| A rising edge or falling edge triggers the event (Capture, Start, Reload, etc..)
#define | CY_TCPWM_INPUT_LEVEL (3U)
| The event is triggered on each edge of the TCPWM clock if the input is high.