CARME-M4 BSP  V1.5
TIM_Input_Capture_Prescaler
+ Collaboration diagram for TIM_Input_Capture_Prescaler:

Macros

#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)
 

Detailed Description

Macro Definition Documentation

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

Definition at line 543 of file stm32f4xx_tim.h.

#define TIM_ICPSC_DIV1   ((uint16_t)0x0000)

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

Definition at line 539 of file stm32f4xx_tim.h.

#define TIM_ICPSC_DIV2   ((uint16_t)0x0004)

Capture performed once every 2 events.

Definition at line 540 of file stm32f4xx_tim.h.

#define TIM_ICPSC_DIV4   ((uint16_t)0x0008)

Capture performed once every 4 events.

Definition at line 541 of file stm32f4xx_tim.h.

#define TIM_ICPSC_DIV8   ((uint16_t)0x000C)

Capture performed once every 8 events.

Definition at line 542 of file stm32f4xx_tim.h.