STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
TIM Master Mode Selection
Collaboration diagram for TIM Master Mode Selection:

Macros

#define TIM_TRGO_RESET   0x00000000U
 
#define TIM_TRGO_ENABLE   TIM_CR2_MMS_0
 
#define TIM_TRGO_UPDATE   TIM_CR2_MMS_1
 
#define TIM_TRGO_OC1   (TIM_CR2_MMS_1 | TIM_CR2_MMS_0)
 
#define TIM_TRGO_OC1REF   TIM_CR2_MMS_2
 
#define TIM_TRGO_OC2REF   (TIM_CR2_MMS_2 | TIM_CR2_MMS_0)
 
#define TIM_TRGO_OC3REF   (TIM_CR2_MMS_2 | TIM_CR2_MMS_1)
 
#define TIM_TRGO_OC4REF   (TIM_CR2_MMS_2 | TIM_CR2_MMS_1 | TIM_CR2_MMS_0)
 

Detailed Description

Macro Definition Documentation

◆ TIM_TRGO_RESET

#define TIM_TRGO_RESET   0x00000000U

#include <stm32f4xx_hal_tim.h>

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

Definition at line 865 of file stm32f4xx_hal_tim.h.

◆ TIM_TRGO_ENABLE

#define TIM_TRGO_ENABLE   TIM_CR2_MMS_0

#include <stm32f4xx_hal_tim.h>

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

Definition at line 866 of file stm32f4xx_hal_tim.h.

◆ TIM_TRGO_UPDATE

#define TIM_TRGO_UPDATE   TIM_CR2_MMS_1

#include <stm32f4xx_hal_tim.h>

Update event is used as trigger output (TRGO)

Definition at line 867 of file stm32f4xx_hal_tim.h.

◆ TIM_TRGO_OC1

#define TIM_TRGO_OC1   (TIM_CR2_MMS_1 | TIM_CR2_MMS_0)

#include <stm32f4xx_hal_tim.h>

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

Definition at line 868 of file stm32f4xx_hal_tim.h.

◆ TIM_TRGO_OC1REF

#define TIM_TRGO_OC1REF   TIM_CR2_MMS_2

#include <stm32f4xx_hal_tim.h>

OC1REF signal is used as trigger output (TRGO)

Definition at line 869 of file stm32f4xx_hal_tim.h.

◆ TIM_TRGO_OC2REF

#define TIM_TRGO_OC2REF   (TIM_CR2_MMS_2 | TIM_CR2_MMS_0)

#include <stm32f4xx_hal_tim.h>

OC2REF signal is used as trigger output(TRGO)

Definition at line 870 of file stm32f4xx_hal_tim.h.

Referenced by HAL_TIMEx_HallSensor_Init().

◆ TIM_TRGO_OC3REF

#define TIM_TRGO_OC3REF   (TIM_CR2_MMS_2 | TIM_CR2_MMS_1)

#include <stm32f4xx_hal_tim.h>

OC3REF signal is used as trigger output(TRGO)

Definition at line 871 of file stm32f4xx_hal_tim.h.

◆ TIM_TRGO_OC4REF

#define TIM_TRGO_OC4REF   (TIM_CR2_MMS_2 | TIM_CR2_MMS_1 | TIM_CR2_MMS_0)

#include <stm32f4xx_hal_tim.h>

OC4REF signal is used as trigger output(TRGO)

Definition at line 872 of file stm32f4xx_hal_tim.h.