Macros

Constants defining timer high-resolution clock prescaler ratio. More...

Collaboration diagram for HRTIM_PrescalerRatio:

Macros

#define HRTIM_PRESCALERRATIO_DIV1   ((uint32_t)0x00000005)
 
#define HRTIM_PRESCALERRATIO_DIV2   ((uint32_t)0x00000006)
 
#define HRTIM_PRESCALERRATIO_DIV4   ((uint32_t)0x00000007)
 
#define HRTIM_PRESCALERRATIO_MUL16   ((uint32_t)0x00000001)
 
#define HRTIM_PRESCALERRATIO_MUL2   ((uint32_t)0x00000004)
 
#define HRTIM_PRESCALERRATIO_MUL32   ((uint32_t)0x00000000)
 
#define HRTIM_PRESCALERRATIO_MUL4   ((uint32_t)0x00000003)
 
#define HRTIM_PRESCALERRATIO_MUL8   ((uint32_t)0x00000002)
 
#define IS_HRTIM_PRESCALERRATIO(PRESCALERRATIO)
 

Detailed Description

Constants defining timer high-resolution clock prescaler ratio.

Macro Definition Documentation

#define HRTIM_PRESCALERRATIO_DIV1   ((uint32_t)0x00000005)

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

Definition at line 554 of file stm32f30x_hrtim.h.

#define HRTIM_PRESCALERRATIO_DIV2   ((uint32_t)0x00000006)

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

Definition at line 555 of file stm32f30x_hrtim.h.

#define HRTIM_PRESCALERRATIO_DIV4   ((uint32_t)0x00000007)

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

Definition at line 556 of file stm32f30x_hrtim.h.

#define HRTIM_PRESCALERRATIO_MUL16   ((uint32_t)0x00000001)

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

Definition at line 550 of file stm32f30x_hrtim.h.

#define HRTIM_PRESCALERRATIO_MUL2   ((uint32_t)0x00000004)

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

Definition at line 553 of file stm32f30x_hrtim.h.

#define HRTIM_PRESCALERRATIO_MUL32   ((uint32_t)0x00000000)

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

Definition at line 549 of file stm32f30x_hrtim.h.

#define HRTIM_PRESCALERRATIO_MUL4   ((uint32_t)0x00000003)

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

Definition at line 552 of file stm32f30x_hrtim.h.

#define HRTIM_PRESCALERRATIO_MUL8   ((uint32_t)0x00000002)

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

Definition at line 551 of file stm32f30x_hrtim.h.

#define IS_HRTIM_PRESCALERRATIO (   PRESCALERRATIO)
Value:
(((PRESCALERRATIO) == HRTIM_PRESCALERRATIO_MUL32) || \
((PRESCALERRATIO) == HRTIM_PRESCALERRATIO_MUL16) || \
((PRESCALERRATIO) == HRTIM_PRESCALERRATIO_MUL8) || \
((PRESCALERRATIO) == HRTIM_PRESCALERRATIO_MUL4) || \
((PRESCALERRATIO) == HRTIM_PRESCALERRATIO_MUL2) || \
((PRESCALERRATIO) == HRTIM_PRESCALERRATIO_DIV1) || \
((PRESCALERRATIO) == HRTIM_PRESCALERRATIO_DIV2) || \
((PRESCALERRATIO) == HRTIM_PRESCALERRATIO_DIV4))
#define HRTIM_PRESCALERRATIO_MUL8
#define HRTIM_PRESCALERRATIO_DIV2
#define HRTIM_PRESCALERRATIO_MUL32
#define HRTIM_PRESCALERRATIO_DIV1
#define HRTIM_PRESCALERRATIO_MUL2
#define HRTIM_PRESCALERRATIO_DIV4
#define HRTIM_PRESCALERRATIO_MUL16
#define HRTIM_PRESCALERRATIO_MUL4

Definition at line 558 of file stm32f30x_hrtim.h.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Fri Jul 24 2020 03:20:14