STM32F10x Standard Peripherals Library  3.5.0
TIM_Input_Capture_Prescaler

Defines

#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 IS_TIM_IC_PRESCALER(PRESCALER)

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 589 of file stm32f10x_tim.h.

#define TIM_ICPSC_DIV1   ((uint16_t)0x0000)

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

Definition at line 585 of file stm32f10x_tim.h.

#define TIM_ICPSC_DIV2   ((uint16_t)0x0004)

Capture performed once every 2 events.

Definition at line 586 of file stm32f10x_tim.h.

#define TIM_ICPSC_DIV4   ((uint16_t)0x0008)

Capture performed once every 4 events.

Definition at line 587 of file stm32f10x_tim.h.

#define TIM_ICPSC_DIV8   ((uint16_t)0x000C)

Capture performed once every 8 events.

Definition at line 588 of file stm32f10x_tim.h.