MTB CAT1 Peripheral driver library

General Description

Selects the PWM counter direction/mode.

Enumerations

enum  cy_en_pwm_count_direction_t {
  CY_TCPWM_PWM_COUNT_UP = 0U,
  CY_TCPWM_PWM_COUNT_DOWN = 1U,
  CY_TCPWM_PWM_COUNT_UP_DOWN_1 = 2U,
  CY_TCPWM_PWM_COUNT_UP_DOWN_2 = 3U
}
 PWM counter direction/mode. More...
 

Enumeration Type Documentation

◆ cy_en_pwm_count_direction_t

PWM counter direction/mode.

Enumerator
CY_TCPWM_PWM_COUNT_UP 

Counter counts up.

CY_TCPWM_PWM_COUNT_DOWN 

Counter counts down.

CY_TCPWM_PWM_COUNT_UP_DOWN_1 

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

CY_TCPWM_PWM_COUNT_UP_DOWN_2 

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