STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
Collaboration diagram for TIM Slave mode:

Macros

#define TIM_SLAVEMODE_DISABLE   0x00000000U
 
#define TIM_SLAVEMODE_RESET   TIM_SMCR_SMS_2
 
#define TIM_SLAVEMODE_GATED   (TIM_SMCR_SMS_2 | TIM_SMCR_SMS_0)
 
#define TIM_SLAVEMODE_TRIGGER   (TIM_SMCR_SMS_2 | TIM_SMCR_SMS_1)
 
#define TIM_SLAVEMODE_EXTERNAL1   (TIM_SMCR_SMS_2 | TIM_SMCR_SMS_1 | TIM_SMCR_SMS_0)
 

Detailed Description

Macro Definition Documentation

◆ TIM_SLAVEMODE_DISABLE

#define TIM_SLAVEMODE_DISABLE   0x00000000U

#include <stm32f4xx_hal_tim.h>

Slave mode disabled

Definition at line 889 of file stm32f4xx_hal_tim.h.

◆ TIM_SLAVEMODE_RESET

#define TIM_SLAVEMODE_RESET   TIM_SMCR_SMS_2

#include <stm32f4xx_hal_tim.h>

Reset Mode

Definition at line 890 of file stm32f4xx_hal_tim.h.

Referenced by HAL_TIMEx_HallSensor_Init().

◆ TIM_SLAVEMODE_GATED

#define TIM_SLAVEMODE_GATED   (TIM_SMCR_SMS_2 | TIM_SMCR_SMS_0)

#include <stm32f4xx_hal_tim.h>

Gated Mode

Definition at line 891 of file stm32f4xx_hal_tim.h.

Referenced by TIM_SlaveTimer_SetConfig().

◆ TIM_SLAVEMODE_TRIGGER

#define TIM_SLAVEMODE_TRIGGER   (TIM_SMCR_SMS_2 | TIM_SMCR_SMS_1)

#include <stm32f4xx_hal_tim.h>

Trigger Mode

Definition at line 892 of file stm32f4xx_hal_tim.h.

Referenced by HAL_TIM_OnePulse_ConfigChannel().

◆ TIM_SLAVEMODE_EXTERNAL1

#define TIM_SLAVEMODE_EXTERNAL1   (TIM_SMCR_SMS_2 | TIM_SMCR_SMS_1 | TIM_SMCR_SMS_0)

#include <stm32f4xx_hal_tim.h>

External Clock Mode 1

Definition at line 893 of file stm32f4xx_hal_tim.h.

Referenced by HAL_TIM_ConfigClockSource(), and TIM_ITRx_SetConfig().