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

Macros

#define TIM_ExtTRGPSC_OFF   ((uint16_t)0x0000)
 
#define TIM_ExtTRGPSC_DIV2   ((uint16_t)0x1000)
 
#define TIM_ExtTRGPSC_DIV4   ((uint16_t)0x2000)
 
#define TIM_ExtTRGPSC_DIV8   ((uint16_t)0x3000)
 
#define IS_TIM_EXT_PRESCALER(PRESCALER)
 

Detailed Description

Macro Definition Documentation

#define IS_TIM_EXT_PRESCALER (   PRESCALER)
Value:
(((PRESCALER) == TIM_ExtTRGPSC_OFF) || \
((PRESCALER) == TIM_ExtTRGPSC_DIV2) || \
((PRESCALER) == TIM_ExtTRGPSC_DIV4) || \
((PRESCALER) == TIM_ExtTRGPSC_DIV8))

Definition at line 740 of file stm32f10x_tim.h.

#define TIM_ExtTRGPSC_DIV2   ((uint16_t)0x1000)

Definition at line 737 of file stm32f10x_tim.h.

#define TIM_ExtTRGPSC_DIV4   ((uint16_t)0x2000)

Definition at line 738 of file stm32f10x_tim.h.

#define TIM_ExtTRGPSC_DIV8   ((uint16_t)0x3000)

Definition at line 739 of file stm32f10x_tim.h.

#define TIM_ExtTRGPSC_OFF   ((uint16_t)0x0000)

Definition at line 736 of file stm32f10x_tim.h.