MTB CAT1 Peripheral driver library

General Description

Data Structures

struct  cy_stc_tcpwm_counter_config_t
 Counter Timer configuration structure. More...
 

Enumerations

enum  cy_en_counter_direction_t {
  CY_TCPWM_COUNTER_DIRECTION_DISABLE = 0UL,
  CY_TCPWM_COUNTER_DIRECTION_FALLING = 1UL,
  CY_TCPWM_COUNTER_DIRECTION_RISING = 2UL,
  CY_TCPWM_COUNTER_DIRECTION_LEVEL = 3UL
}
 Counter Direction modes. More...
 

Enumeration Type Documentation

◆ cy_en_counter_direction_t

Counter Direction modes.

Enumerator
CY_TCPWM_COUNTER_DIRECTION_DISABLE 

Counter changes current count direction is disabled.

CY_TCPWM_COUNTER_DIRECTION_FALLING 

Counter changes current count direction based on falling edge of capture0 input.

CY_TCPWM_COUNTER_DIRECTION_RISING 

Counter changes current count direction based on rising edge of capture0 input.

CY_TCPWM_COUNTER_DIRECTION_LEVEL 

Counter count increase when capture0 level equal to high, counter count decrease when capture0 level equals to low.