WB32L003 Standard Peripherals Firmware Library

Macros
TIM_Input_Capture_Prescaler
WB32L003_StdPeriph_Driver » BASETIM WB32L003_StdPeriph_Driver » | TIM » TIM_Exported_constants

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

## ◆ IS_TIM_IC_PRESCALER

#define IS_TIM_IC_PRESCALER | ( |  | PRESCALER | ) |

Value:
(((PRESCALER) == TIM_ICPSC_DIV1) || \
((PRESCALER) == TIM_ICPSC_DIV2) || \
((PRESCALER) == TIM_ICPSC_DIV4) || \
((PRESCALER) == TIM_ICPSC_DIV8))
TIM_ICPSC_DIV8
#define TIM_ICPSC_DIV8
Definition: wb32l003_tim.h:496
TIM_ICPSC_DIV1
#define TIM_ICPSC_DIV1
Definition: wb32l003_tim.h:493
TIM_ICPSC_DIV4
#define TIM_ICPSC_DIV4
Definition: wb32l003_tim.h:495
TIM_ICPSC_DIV2
#define TIM_ICPSC_DIV2
Definition: wb32l003_tim.h:494

## ◆ TIM_ICPSC_DIV1

#define TIM_ICPSC_DIV1 ((uint16_t)0x0000)

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

## ◆ TIM_ICPSC_DIV2

#define TIM_ICPSC_DIV2 ((uint16_t)0x0004)

Capture performed once every 2 events.

## ◆ TIM_ICPSC_DIV4

#define TIM_ICPSC_DIV4 ((uint16_t)0x0008)

Capture performed once every 4 events.

## ◆ TIM_ICPSC_DIV8

#define TIM_ICPSC_DIV8 ((uint16_t)0x000C)

Capture performed once every 8 events.