uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages

Macros

#define TIM_Channel_1   ((uint16_t)0x0000)
 
#define TIM_Channel_2   ((uint16_t)0x0004)
 
#define TIM_Channel_3   ((uint16_t)0x0008)
 
#define TIM_Channel_4   ((uint16_t)0x000C)
 
#define IS_TIM_CHANNEL(CHANNEL)
 
#define IS_TIM_PWMI_CHANNEL(CHANNEL)
 
#define IS_TIM_COMPLEMENTARY_CHANNEL(CHANNEL)
 

Detailed Description

Macro Definition Documentation

#define IS_TIM_CHANNEL (   CHANNEL)
Value:
(((CHANNEL) == TIM_Channel_1) || \
((CHANNEL) == TIM_Channel_2) || \
((CHANNEL) == TIM_Channel_3) || \
((CHANNEL) == TIM_Channel_4))

Definition at line 332 of file stm32f10x_tim.h.

#define IS_TIM_COMPLEMENTARY_CHANNEL (   CHANNEL)
Value:
(((CHANNEL) == TIM_Channel_1) || \
((CHANNEL) == TIM_Channel_2) || \
((CHANNEL) == TIM_Channel_3))

Definition at line 338 of file stm32f10x_tim.h.

#define IS_TIM_PWMI_CHANNEL (   CHANNEL)
Value:
(((CHANNEL) == TIM_Channel_1) || \
((CHANNEL) == TIM_Channel_2))

Definition at line 336 of file stm32f10x_tim.h.

#define TIM_Channel_1   ((uint16_t)0x0000)

Definition at line 328 of file stm32f10x_tim.h.

#define TIM_Channel_2   ((uint16_t)0x0004)

Definition at line 329 of file stm32f10x_tim.h.

#define TIM_Channel_3   ((uint16_t)0x0008)

Definition at line 330 of file stm32f10x_tim.h.

#define TIM_Channel_4   ((uint16_t)0x000C)

Definition at line 331 of file stm32f10x_tim.h.