MTB CAT1 Peripheral driver library
TCPWM Input Selection

General Description

Selects which input to use.

Macros

#define CY_TCPWM_INPUT_0   (0U)
 Input is tied to logic 0.
 
#define CY_TCPWM_INPUT_1   (1U)
 Input is tied to logic 1.
 
#define CY_TCPWM_INPUT_TRIG_0   (2U)
 Input is connected to the trigger input 0.
 
#define CY_TCPWM_INPUT_TRIG_1   (3U)
 Input is connected to the trigger input 1.
 
#define CY_TCPWM_INPUT_TRIG_2   (4U)
 Input is connected to the trigger input 2.
 
#define CY_TCPWM_INPUT_TRIG_3   (5U)
 Input is connected to the trigger input 3.
 
#define CY_TCPWM_INPUT_TRIG_4   (6U)
 Input is connected to the trigger input 4.
 
#define CY_TCPWM_INPUT_TRIG_5   (7U)
 Input is connected to the trigger input 5.
 
#define CY_TCPWM_INPUT_TRIG_6   (8U)
 Input is connected to the trigger input 6.
 
#define CY_TCPWM_INPUT_TRIG_7   (9U)
 Input is connected to the trigger input 7.
 
#define CY_TCPWM_INPUT_TRIG_8   (10U)
 Input is connected to the trigger input 8.
 
#define CY_TCPWM_INPUT_TRIG_9   (11U)
 Input is connected to the trigger input 9.
 
#define CY_TCPWM_INPUT_TRIG_10   (12U)
 Input is connected to the trigger input 10.
 
#define CY_TCPWM_INPUT_TRIG_11   (13U)
 Input is connected to the trigger input 11.
 
#define CY_TCPWM_INPUT_TRIG_12   (14U)
 Input is connected to the trigger input 12.
 
#define CY_TCPWM_INPUT_TRIG_13   (15U)
 Input is connected to the trigger input 13.
 
#define CY_TCPWM_INPUT_TRIG_WITH_INST(n, m)   (n + TCPWM ##m## _TR_ONE_CNT_NR + 2U)
 Input is connected to the trigger input n - all purpose trigger, m is the TCPWM instance number. More...
 
#define CY_TCPWM_INPUT_CREATOR   (0xFFFFFFFFU)
 Input is defined by Creator, and Init() function does not need to configure input.
 

Macro Definition Documentation

◆ CY_TCPWM_INPUT_TRIG_WITH_INST

#define CY_TCPWM_INPUT_TRIG_WITH_INST (   n,
 
)    (n + TCPWM ##m## _TR_ONE_CNT_NR + 2U)

Input is connected to the trigger input n - all purpose trigger, m is the TCPWM instance number.