MG32L003 Standard Peripherals Firmware Library

宏定义
TIM_Input_Capture_Prescaler
MG32L003_StdPeriph_Driver » BASETIM MG32L003_StdPeriph_Driver » | TIM » TIM_Exported_constants

## 宏定义
#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)

## 详细描述

## 宏定义说明

## ◆ IS_TIM_IC_PRESCALER

#define IS_TIM_IC_PRESCALER | ( |  | PRESCALER | ) |

值:
(((PRESCALER) == TIM_ICPSC_DIV1) || \
((PRESCALER) == TIM_ICPSC_DIV2) || \
((PRESCALER) == TIM_ICPSC_DIV4) || \
((PRESCALER) == TIM_ICPSC_DIV8))
TIM_ICPSC_DIV8
#define TIM_ICPSC_DIV8
Definition: mg32l003_tim.h:496
TIM_ICPSC_DIV1
#define TIM_ICPSC_DIV1
Definition: mg32l003_tim.h:493
TIM_ICPSC_DIV4
#define TIM_ICPSC_DIV4
Definition: mg32l003_tim.h:495
TIM_ICPSC_DIV2
#define TIM_ICPSC_DIV2
Definition: mg32l003_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.