STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
TIM Master Mode Selection 2 (TRGO2)
Collaboration diagram for TIM Master Mode Selection 2 (TRGO2):

Macros

#define TIM_TRGO2_RESET   0x00000000U
 TIMx_EGR.UG bit is used as trigger output (TRGO2).
#define TIM_TRGO2_ENABLE   TIM_CR2_MMS2_0
 TIMx_CR1.CEN bit is used as trigger output (TRGO2).
#define TIM_TRGO2_UPDATE   TIM_CR2_MMS2_1
 Update event is used as trigger output (TRGO2).
#define TIM_TRGO2_OC1   (TIM_CR2_MMS2_1 | TIM_CR2_MMS2_0)
 Capture or a compare match 1 is used as trigger output (TRGO2).
#define TIM_TRGO2_OC1REF   TIM_CR2_MMS2_2
 OC1REF signal is used as trigger output (TRGO2).
#define TIM_TRGO2_OC2REF   (TIM_CR2_MMS2_2 | TIM_CR2_MMS2_0)
 OC2REF signal is used as trigger output (TRGO2).
#define TIM_TRGO2_OC3REF   (TIM_CR2_MMS2_2 | TIM_CR2_MMS2_1)
 OC3REF signal is used as trigger output (TRGO2).
#define TIM_TRGO2_OC4REF   (TIM_CR2_MMS2_2 | TIM_CR2_MMS2_1 | TIM_CR2_MMS2_0)
 OC4REF signal is used as trigger output (TRGO2).
#define TIM_TRGO2_OC5REF   TIM_CR2_MMS2_3
 OC5REF signal is used as trigger output (TRGO2).
#define TIM_TRGO2_OC6REF   (TIM_CR2_MMS2_3 | TIM_CR2_MMS2_0)
 OC6REF signal is used as trigger output (TRGO2).
#define TIM_TRGO2_OC4REF_RISINGFALLING   (TIM_CR2_MMS2_3 | TIM_CR2_MMS2_1)
 OC4REF rising or falling edges generate pulses on TRGO2.
#define TIM_TRGO2_OC6REF_RISINGFALLING   (TIM_CR2_MMS2_3 | TIM_CR2_MMS2_1 | TIM_CR2_MMS2_0)
 OC6REF rising or falling edges generate pulses on TRGO2.
#define TIM_TRGO2_OC4REF_RISING_OC6REF_RISING   (TIM_CR2_MMS2_3 | TIM_CR2_MMS2_2)
 OC4REF or OC6REF rising edges generate pulses on TRGO2.
#define TIM_TRGO2_OC4REF_RISING_OC6REF_FALLING   (TIM_CR2_MMS2_3 | TIM_CR2_MMS2_2 | TIM_CR2_MMS2_0)
 OC4REF rising or OC6REF falling edges generate pulses on TRGO2.
#define TIM_TRGO2_OC5REF_RISING_OC6REF_RISING   (TIM_CR2_MMS2_3 | TIM_CR2_MMS2_2 |TIM_CR2_MMS2_1)
 OC5REF or OC6REF rising edges generate pulses on TRGO2.
#define TIM_TRGO2_OC5REF_RISING_OC6REF_FALLING   (TIM_CR2_MMS2_3 | TIM_CR2_MMS2_2 | TIM_CR2_MMS2_1 | TIM_CR2_MMS2_0)
 OC5REF or OC6REF rising edges generate pulses on TRGO2.

Detailed Description

Macro Definition Documentation

◆ TIM_TRGO2_ENABLE

#define TIM_TRGO2_ENABLE   TIM_CR2_MMS2_0

TIMx_CR1.CEN bit is used as trigger output (TRGO2).

Definition at line 983 of file stm32h7xx_hal_tim.h.

◆ TIM_TRGO2_OC1

#define TIM_TRGO2_OC1   (TIM_CR2_MMS2_1 | TIM_CR2_MMS2_0)

Capture or a compare match 1 is used as trigger output (TRGO2).

Definition at line 985 of file stm32h7xx_hal_tim.h.

◆ TIM_TRGO2_OC1REF

#define TIM_TRGO2_OC1REF   TIM_CR2_MMS2_2

OC1REF signal is used as trigger output (TRGO2).

Definition at line 986 of file stm32h7xx_hal_tim.h.

◆ TIM_TRGO2_OC2REF

#define TIM_TRGO2_OC2REF   (TIM_CR2_MMS2_2 | TIM_CR2_MMS2_0)

OC2REF signal is used as trigger output (TRGO2).

Definition at line 987 of file stm32h7xx_hal_tim.h.

◆ TIM_TRGO2_OC3REF

#define TIM_TRGO2_OC3REF   (TIM_CR2_MMS2_2 | TIM_CR2_MMS2_1)

OC3REF signal is used as trigger output (TRGO2).

Definition at line 988 of file stm32h7xx_hal_tim.h.

◆ TIM_TRGO2_OC4REF

#define TIM_TRGO2_OC4REF   (TIM_CR2_MMS2_2 | TIM_CR2_MMS2_1 | TIM_CR2_MMS2_0)

OC4REF signal is used as trigger output (TRGO2).

Definition at line 989 of file stm32h7xx_hal_tim.h.

◆ TIM_TRGO2_OC4REF_RISING_OC6REF_FALLING

#define TIM_TRGO2_OC4REF_RISING_OC6REF_FALLING   (TIM_CR2_MMS2_3 | TIM_CR2_MMS2_2 | TIM_CR2_MMS2_0)

OC4REF rising or OC6REF falling edges generate pulses on TRGO2.

Definition at line 995 of file stm32h7xx_hal_tim.h.

◆ TIM_TRGO2_OC4REF_RISING_OC6REF_RISING

#define TIM_TRGO2_OC4REF_RISING_OC6REF_RISING   (TIM_CR2_MMS2_3 | TIM_CR2_MMS2_2)

OC4REF or OC6REF rising edges generate pulses on TRGO2.

Definition at line 994 of file stm32h7xx_hal_tim.h.

◆ TIM_TRGO2_OC4REF_RISINGFALLING

#define TIM_TRGO2_OC4REF_RISINGFALLING   (TIM_CR2_MMS2_3 | TIM_CR2_MMS2_1)

OC4REF rising or falling edges generate pulses on TRGO2.

Definition at line 992 of file stm32h7xx_hal_tim.h.

◆ TIM_TRGO2_OC5REF

#define TIM_TRGO2_OC5REF   TIM_CR2_MMS2_3

OC5REF signal is used as trigger output (TRGO2).

Definition at line 990 of file stm32h7xx_hal_tim.h.

◆ TIM_TRGO2_OC5REF_RISING_OC6REF_FALLING

#define TIM_TRGO2_OC5REF_RISING_OC6REF_FALLING   (TIM_CR2_MMS2_3 | TIM_CR2_MMS2_2 | TIM_CR2_MMS2_1 | TIM_CR2_MMS2_0)

OC5REF or OC6REF rising edges generate pulses on TRGO2.

Definition at line 997 of file stm32h7xx_hal_tim.h.

◆ TIM_TRGO2_OC5REF_RISING_OC6REF_RISING

#define TIM_TRGO2_OC5REF_RISING_OC6REF_RISING   (TIM_CR2_MMS2_3 | TIM_CR2_MMS2_2 |TIM_CR2_MMS2_1)

OC5REF or OC6REF rising edges generate pulses on TRGO2.

Definition at line 996 of file stm32h7xx_hal_tim.h.

◆ TIM_TRGO2_OC6REF

#define TIM_TRGO2_OC6REF   (TIM_CR2_MMS2_3 | TIM_CR2_MMS2_0)

OC6REF signal is used as trigger output (TRGO2).

Definition at line 991 of file stm32h7xx_hal_tim.h.

◆ TIM_TRGO2_OC6REF_RISINGFALLING

#define TIM_TRGO2_OC6REF_RISINGFALLING   (TIM_CR2_MMS2_3 | TIM_CR2_MMS2_1 | TIM_CR2_MMS2_0)

OC6REF rising or falling edges generate pulses on TRGO2.

Definition at line 993 of file stm32h7xx_hal_tim.h.

◆ TIM_TRGO2_RESET

#define TIM_TRGO2_RESET   0x00000000U

TIMx_EGR.UG bit is used as trigger output (TRGO2).

Definition at line 982 of file stm32h7xx_hal_tim.h.

Referenced by MX_TIM1_Init().

◆ TIM_TRGO2_UPDATE

#define TIM_TRGO2_UPDATE   TIM_CR2_MMS2_1

Update event is used as trigger output (TRGO2).

Definition at line 984 of file stm32h7xx_hal_tim.h.