DIY Logging Volt/Ampmeter

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

Slave mode disabled

Definition at line 882 of file stm32f1xx_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 886 of file stm32f1xx_hal_tim.h.

◆ TIM_SLAVEMODE_GATED

#define TIM_SLAVEMODE_GATED   (TIM_SMCR_SMS_2 | TIM_SMCR_SMS_0)

Gated Mode

Definition at line 884 of file stm32f1xx_hal_tim.h.

◆ TIM_SLAVEMODE_RESET

#define TIM_SLAVEMODE_RESET   TIM_SMCR_SMS_2

Reset Mode

Definition at line 883 of file stm32f1xx_hal_tim.h.

◆ TIM_SLAVEMODE_TRIGGER

#define TIM_SLAVEMODE_TRIGGER   (TIM_SMCR_SMS_2 | TIM_SMCR_SMS_1)

Trigger Mode

Definition at line 885 of file stm32f1xx_hal_tim.h.