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

Macros

#define TIM_ETRPRESCALER_DIV1   0x00000000U
 No prescaler is used.
#define TIM_ETRPRESCALER_DIV2   TIM_SMCR_ETPS_0
 ETR input source is divided by 2.
#define TIM_ETRPRESCALER_DIV4   TIM_SMCR_ETPS_1
 ETR input source is divided by 4.
#define TIM_ETRPRESCALER_DIV8   TIM_SMCR_ETPS
 ETR input source is divided by 8.

Detailed Description

Macro Definition Documentation

◆ TIM_ETRPRESCALER_DIV1

#define TIM_ETRPRESCALER_DIV1   0x00000000U

No prescaler is used.

Definition at line 538 of file stm32h7xx_hal_tim.h.

◆ TIM_ETRPRESCALER_DIV2

#define TIM_ETRPRESCALER_DIV2   TIM_SMCR_ETPS_0

ETR input source is divided by 2.

Definition at line 539 of file stm32h7xx_hal_tim.h.

◆ TIM_ETRPRESCALER_DIV4

#define TIM_ETRPRESCALER_DIV4   TIM_SMCR_ETPS_1

ETR input source is divided by 4.

Definition at line 540 of file stm32h7xx_hal_tim.h.

◆ TIM_ETRPRESCALER_DIV8

#define TIM_ETRPRESCALER_DIV8   TIM_SMCR_ETPS

ETR input source is divided by 8.

Definition at line 541 of file stm32h7xx_hal_tim.h.