RTEMS 6.1-rc6
Loading...
Searching...
No Matches
Macros
TIM Extended Private Macros

Macros

#define IS_TIM_BREAKINPUT(__BREAKINPUT__)
 
#define IS_TIM_BREAKINPUTSOURCE(__SOURCE__)
 
#define IS_TIM_BREAKINPUTSOURCE_STATE(__STATE__)
 
#define IS_TIM_BREAKINPUTSOURCE_POLARITY(__POLARITY__)
 
#define IS_TIM_TISEL(__TISEL__)
 
#define IS_TIM_REMAP(__RREMAP__)
 

Detailed Description

Macro Definition Documentation

◆ IS_TIM_BREAKINPUT

#define IS_TIM_BREAKINPUT (   __BREAKINPUT__)
Value:
(((__BREAKINPUT__) == TIM_BREAKINPUT_BRK) || \
((__BREAKINPUT__) == TIM_BREAKINPUT_BRK2))

◆ IS_TIM_BREAKINPUTSOURCE

#define IS_TIM_BREAKINPUTSOURCE (   __SOURCE__)
Value:
(((__SOURCE__) == TIM_BREAKINPUTSOURCE_BKIN) || \
((__SOURCE__) == TIM_BREAKINPUTSOURCE_COMP1) || \
((__SOURCE__) == TIM_BREAKINPUTSOURCE_COMP2) || \
((__SOURCE__) == TIM_BREAKINPUTSOURCE_DFSDM1))

◆ IS_TIM_BREAKINPUTSOURCE_POLARITY

#define IS_TIM_BREAKINPUTSOURCE_POLARITY (   __POLARITY__)
Value:
(((__POLARITY__) == TIM_BREAKINPUTSOURCE_POLARITY_LOW) || \
((__POLARITY__) == TIM_BREAKINPUTSOURCE_POLARITY_HIGH))

◆ IS_TIM_BREAKINPUTSOURCE_STATE

#define IS_TIM_BREAKINPUTSOURCE_STATE (   __STATE__)
Value:
(((__STATE__) == TIM_BREAKINPUTSOURCE_DISABLE) || \
((__STATE__) == TIM_BREAKINPUTSOURCE_ENABLE))