STM32G474xx HAL User Manual
定义
预分频器比
HRTIM导出常量

定义计时器高精度时钟预分频器比的常量。 更多...

定义

#define LL_HRTIM_PRESCALERRATIO_MUL32   0x00000000U
#define LL_HRTIM_PRESCALERRATIO_MUL16   ((uint32_t)0x00000001U)
#define LL_HRTIM_PRESCALERRATIO_MUL8   ((uint32_t)0x00000002U)
#define LL_HRTIM_PRESCALERRATIO_MUL4   ((uint32_t)0x00000003U)
#define LL_HRTIM_PRESCALERRATIO_MUL2   ((uint32_t)0x00000004U)
#define LL_HRTIM_PRESCALERRATIO_DIV1   ((uint32_t)0x00000005U)
#define LL_HRTIM_PRESCALERRATIO_DIV2   ((uint32_t)0x00000006U)
#define LL_HRTIM_PRESCALERRATIO_DIV4   ((uint32_t)0x00000007U)

详细说明

定义计时器高精度时钟预分频器比的常量。


定义文档

#define LL_HRTIM_PRESCALERRATIO_DIV1   ((uint32_t)0x00000005U)

fHRCK: fHRTIM = 144 MHz - Resolution: 6.95 ns - Min PWM frequency: 2.2 kHz (fHRTIM=144MHz)

Definition at line 932 of file stm32g4xx_ll_hrtim.h.

#define LL_HRTIM_PRESCALERRATIO_DIV2   ((uint32_t)0x00000006U)

fHRCK: fHRTIM / 2 = 72 MHz - Resolution: 13.88 ns- Min PWM frequency: 1.1 kHz (fHRTIM=144MHz)

Definition at line 933 of file stm32g4xx_ll_hrtim.h.

#define LL_HRTIM_PRESCALERRATIO_DIV4   ((uint32_t)0x00000007U)

fHRCK: fHRTIM / 4 = 36 MHz - Resolution: 27.7 ns- Min PWM frequency: 550Hz (fHRTIM=144MHz)

Definition at line 934 of file stm32g4xx_ll_hrtim.h.

#define LL_HRTIM_PRESCALERRATIO_MUL16   ((uint32_t)0x00000001U)

fHRCK: fHRTIM x 16 = 2.304 GHz - Resolution: 434 ps - Min PWM frequency: 35.1 KHz (fHRTIM=144MHz)

Definition at line 928 of file stm32g4xx_ll_hrtim.h.

#define LL_HRTIM_PRESCALERRATIO_MUL2   ((uint32_t)0x00000004U)

fHRCK: fHRTIM x 2 = 288 MHz - Resolution: 3.47 ns - Min PWM frequency: 4.4 kHz (fHRTIM=144MHz)

Definition at line 931 of file stm32g4xx_ll_hrtim.h.

#define LL_HRTIM_PRESCALERRATIO_MUL32   0x00000000U

fHRCK: fHRTIM x 32 = 4.608 GHz - Resolution: 217 ps - Min PWM frequency: 70.3 kHz (fHRTIM=144MHz)

Definition at line 927 of file stm32g4xx_ll_hrtim.h.

#define LL_HRTIM_PRESCALERRATIO_MUL4   ((uint32_t)0x00000003U)

fHRCK: fHRTIM x 4 = 576 MHz - Resolution: 1.73 ns - Min PWM frequency: 8.8 kHz (fHRTIM=144MHz)

Definition at line 930 of file stm32g4xx_ll_hrtim.h.

#define LL_HRTIM_PRESCALERRATIO_MUL8   ((uint32_t)0x00000002U)

fHRCK: fHRTIM x 8 = 1.152 GHz - Resolution: 868 ps - Min PWM frequency: 17.6 kHz (fHRTIM=144MHz)

Definition at line 929 of file stm32g4xx_ll_hrtim.h.