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

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

#include <stm32f4xx_hal_tim.h>

No prescaler is used

Definition at line 507 of file stm32f4xx_hal_tim.h.

◆ TIM_ETRPRESCALER_DIV2

#define TIM_ETRPRESCALER_DIV2   TIM_SMCR_ETPS_0

#include <stm32f4xx_hal_tim.h>

ETR input source is divided by 2

Definition at line 508 of file stm32f4xx_hal_tim.h.

◆ TIM_ETRPRESCALER_DIV4

#define TIM_ETRPRESCALER_DIV4   TIM_SMCR_ETPS_1

#include <stm32f4xx_hal_tim.h>

ETR input source is divided by 4

Definition at line 509 of file stm32f4xx_hal_tim.h.

◆ TIM_ETRPRESCALER_DIV8

#define TIM_ETRPRESCALER_DIV8   TIM_SMCR_ETPS

#include <stm32f4xx_hal_tim.h>

ETR input source is divided by 8

Definition at line 510 of file stm32f4xx_hal_tim.h.