PSoC 6 Peripheral Driver Library

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. More...
 
#define CY_TCPWM_COUNTER_COUNT_UP_DOWN_2   (3U)
 Counter counts up and down terminal count occurs on both overflow and underflow. More...
 

Macro Definition Documentation

◆ CY_TCPWM_COUNTER_COUNT_UP_DOWN_1

#define CY_TCPWM_COUNTER_COUNT_UP_DOWN_1   (2U)

Counter counts up and down terminal count only occurs on underflow.

◆ CY_TCPWM_COUNTER_COUNT_UP_DOWN_2

#define CY_TCPWM_COUNTER_COUNT_UP_DOWN_2   (3U)

Counter counts up and down terminal count occurs on both overflow and underflow.