DIY Logging Volt/Ampmeter

Macros

#define TIM_ETRPRESCALER_DIV1   0x00000000U
 
#define TIM_ETRPRESCALER_DIV2   TIM_SMCR_ETPS_0
 
#define TIM_ETRPRESCALER_DIV4   TIM_SMCR_ETPS_1
 
#define TIM_ETRPRESCALER_DIV8   TIM_SMCR_ETPS
 

Detailed Description

Macro Definition Documentation

◆ TIM_ETRPRESCALER_DIV1

#define TIM_ETRPRESCALER_DIV1   0x00000000U

No prescaler is used

Definition at line 506 of file stm32f1xx_hal_tim.h.

◆ TIM_ETRPRESCALER_DIV2

#define TIM_ETRPRESCALER_DIV2   TIM_SMCR_ETPS_0

ETR input source is divided by 2

Definition at line 507 of file stm32f1xx_hal_tim.h.

◆ TIM_ETRPRESCALER_DIV4

#define TIM_ETRPRESCALER_DIV4   TIM_SMCR_ETPS_1

ETR input source is divided by 4

Definition at line 508 of file stm32f1xx_hal_tim.h.

◆ TIM_ETRPRESCALER_DIV8

#define TIM_ETRPRESCALER_DIV8   TIM_SMCR_ETPS

ETR input source is divided by 8

Definition at line 509 of file stm32f1xx_hal_tim.h.