STM32F4 Standard Peripheral bibliotheek  1.0
ST Microelectronics bibliotheek documentatie voor de STM32F4 Standard Peripheral Library
 All Data Structures Files Functions Variables Enumerations Enumerator Groups
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_DIV1   ((uint16_t)0x0000)

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

#define TIM_ICPSC_DIV2   ((uint16_t)0x0004)

Capture performed once every 2 events.

#define TIM_ICPSC_DIV4   ((uint16_t)0x0008)

Capture performed once every 4 events.

#define TIM_ICPSC_DIV8   ((uint16_t)0x000C)

Capture performed once every 8 events.