TIM_Input_Capture_Prescaler
[TIM_Exported_Types]

Defines

#define IS_TIM_IC_PRESCALER(PRESCALER)
#define TIM_ICPSC_DIV1   ((uint16_t)0x0000)
#define TIM_ICPSC_DIV2   ((uint16_t)0x0004)
#define TIM_ICPSC_DIV4   ((uint16_t)0x0008)
#define TIM_ICPSC_DIV8   ((uint16_t)0x000C)

Define Documentation

#define IS_TIM_IC_PRESCALER ( PRESCALER   ) 
Value:
(((PRESCALER) == TIM_ICPSC_DIV1) || \
                                        ((PRESCALER) == TIM_ICPSC_DIV2) || \
                                        ((PRESCALER) == TIM_ICPSC_DIV4) || \
                                        ((PRESCALER) == TIM_ICPSC_DIV8))

Definition at line 588 of file stm32f10x_tim.h.

Referenced by TIM_ICInit(), TIM_SetIC1Prescaler(), TIM_SetIC2Prescaler(), TIM_SetIC3Prescaler(), and TIM_SetIC4Prescaler().

#define TIM_ICPSC_DIV1   ((uint16_t)0x0000)

Capture performed each time an edge is detected on the capture input.

Definition at line 584 of file stm32f10x_tim.h.

Referenced by main(), and TIM_ICStructInit().

#define TIM_ICPSC_DIV2   ((uint16_t)0x0004)

Capture performed once every 2 events.

Definition at line 585 of file stm32f10x_tim.h.

#define TIM_ICPSC_DIV4   ((uint16_t)0x0008)

Capture performed once every 4 events.

Definition at line 586 of file stm32f10x_tim.h.

#define TIM_ICPSC_DIV8   ((uint16_t)0x000C)

Capture performed once every 8 events.

Definition at line 587 of file stm32f10x_tim.h.

STM32F10x Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM32(CORTEX M3) 32-bit Microcontrollers platform visit  www.st.com/STM32