STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
Collaboration diagram for TIM Slave mode:

Macros

#define TIM_SLAVEMODE_DISABLE   0x00000000U
 Slave mode disabled.
#define TIM_SLAVEMODE_RESET   TIM_SMCR_SMS_2
 Reset Mode.
#define TIM_SLAVEMODE_GATED   (TIM_SMCR_SMS_2 | TIM_SMCR_SMS_0)
 Gated Mode.
#define TIM_SLAVEMODE_TRIGGER   (TIM_SMCR_SMS_2 | TIM_SMCR_SMS_1)
 Trigger Mode.
#define TIM_SLAVEMODE_EXTERNAL1   (TIM_SMCR_SMS_2 | TIM_SMCR_SMS_1 | TIM_SMCR_SMS_0)
 External Clock Mode 1.
#define TIM_SLAVEMODE_COMBINED_RESETTRIGGER   TIM_SMCR_SMS_3
 Combined reset + trigger mode.

Detailed Description

Macro Definition Documentation

◆ TIM_SLAVEMODE_COMBINED_RESETTRIGGER

#define TIM_SLAVEMODE_COMBINED_RESETTRIGGER   TIM_SMCR_SMS_3

Combined reset + trigger mode.

Definition at line 1019 of file stm32h7xx_hal_tim.h.

◆ TIM_SLAVEMODE_DISABLE

#define TIM_SLAVEMODE_DISABLE   0x00000000U

Slave mode disabled.

Definition at line 1014 of file stm32h7xx_hal_tim.h.

◆ TIM_SLAVEMODE_EXTERNAL1

#define TIM_SLAVEMODE_EXTERNAL1   (TIM_SMCR_SMS_2 | TIM_SMCR_SMS_1 | TIM_SMCR_SMS_0)

External Clock Mode 1.

Definition at line 1018 of file stm32h7xx_hal_tim.h.

◆ TIM_SLAVEMODE_GATED

#define TIM_SLAVEMODE_GATED   (TIM_SMCR_SMS_2 | TIM_SMCR_SMS_0)

Gated Mode.

Definition at line 1016 of file stm32h7xx_hal_tim.h.

◆ TIM_SLAVEMODE_RESET

#define TIM_SLAVEMODE_RESET   TIM_SMCR_SMS_2

Reset Mode.

Definition at line 1015 of file stm32h7xx_hal_tim.h.

◆ TIM_SLAVEMODE_TRIGGER

#define TIM_SLAVEMODE_TRIGGER   (TIM_SMCR_SMS_2 | TIM_SMCR_SMS_1)

Trigger Mode.

Definition at line 1017 of file stm32h7xx_hal_tim.h.