Prusa MINI Firmware overview
TIM Private Macros
Collaboration diagram for TIM Private Macros:

Macros

#define IS_TIM_REMAP(TIM_REMAP)
 
#define IS_TIM_DEADTIME(DEADTIME)   ((DEADTIME) <= 0xFFU)
 

Detailed Description

Macro Definition Documentation

◆ IS_TIM_REMAP

#define IS_TIM_REMAP (   TIM_REMAP)
Value:
(((TIM_REMAP) == TIM_TIM2_TIM8_TRGO)||\
((TIM_REMAP) == TIM_TIM2_ETH_PTP)||\
((TIM_REMAP) == TIM_TIM2_USBFS_SOF)||\
((TIM_REMAP) == TIM_TIM2_USBHS_SOF)||\
((TIM_REMAP) == TIM_TIM5_GPIO)||\
((TIM_REMAP) == TIM_TIM5_LSI)||\
((TIM_REMAP) == TIM_TIM5_LSE)||\
((TIM_REMAP) == TIM_TIM5_RTC)||\
((TIM_REMAP) == TIM_TIM11_GPIO)||\
((TIM_REMAP) == TIM_TIM11_HSE))

◆ IS_TIM_DEADTIME

#define IS_TIM_DEADTIME (   DEADTIME)    ((DEADTIME) <= 0xFFU)
TIM_TIM2_USBHS_SOF
#define TIM_TIM2_USBHS_SOF
Definition: stm32f4xx_hal_tim_ex.h:126
TIM_TIM2_ETH_PTP
#define TIM_TIM2_ETH_PTP
Definition: stm32f4xx_hal_tim_ex.h:124
TIM_TIM5_LSI
#define TIM_TIM5_LSI
Definition: stm32f4xx_hal_tim_ex.h:128
TIM_TIM2_TIM8_TRGO
#define TIM_TIM2_TIM8_TRGO
Definition: stm32f4xx_hal_tim_ex.h:123
TIM_TIM11_GPIO
#define TIM_TIM11_GPIO
Definition: stm32f4xx_hal_tim_ex.h:131
TIM_TIM5_LSE
#define TIM_TIM5_LSE
Definition: stm32f4xx_hal_tim_ex.h:129
TIM_TIM5_GPIO
#define TIM_TIM5_GPIO
Definition: stm32f4xx_hal_tim_ex.h:127
TIM_TIM5_RTC
#define TIM_TIM5_RTC
Definition: stm32f4xx_hal_tim_ex.h:130
TIM_TIM11_HSE
#define TIM_TIM11_HSE
Definition: stm32f4xx_hal_tim_ex.h:132
TIM_TIM2_USBFS_SOF
#define TIM_TIM2_USBFS_SOF
Definition: stm32f4xx_hal_tim_ex.h:125