PSoC 4 Peripheral Driver Library - Alpha

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.