MG32L003 Standard Peripherals Firmware Library

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

## 宏定义
#define | TIM_ICSelection_DirectTI ((uint16_t)0x0001)
#define | TIM_ICSelection_IndirectTI ((uint16_t)0x0002)
#define | TIM_ICSelection_TRC ((uint16_t)0x0003)
#define | IS_TIM_IC_SELECTION(SELECTION)

## 详细描述

## 宏定义说明

## ◆ IS_TIM_IC_SELECTION

#define IS_TIM_IC_SELECTION | ( |  | SELECTION | ) |

值:
(((SELECTION) == TIM_ICSelection_DirectTI) || \
((SELECTION) == TIM_ICSelection_IndirectTI) || \
((SELECTION) == TIM_ICSelection_TRC))
TIM_ICSelection_IndirectTI
#define TIM_ICSelection_IndirectTI
Definition: mg32l003_tim.h:478
TIM_ICSelection_TRC
#define TIM_ICSelection_TRC
Definition: mg32l003_tim.h:481
TIM_ICSelection_DirectTI
#define TIM_ICSelection_DirectTI
Definition: mg32l003_tim.h:475

## ◆ TIM_ICSelection_DirectTI

#define TIM_ICSelection_DirectTI ((uint16_t)0x0001)

TIM Input 1, 2, 3 or 4 is selected to be connected to IC1, IC2, IC3 or IC4, respectively

## ◆ TIM_ICSelection_IndirectTI

#define TIM_ICSelection_IndirectTI ((uint16_t)0x0002)

TIM Input 1, 2, 3 or 4 is selected to be connected to IC2, IC1, IC4 or IC3, respectively.

## ◆ TIM_ICSelection_TRC

#define TIM_ICSelection_TRC ((uint16_t)0x0003)

TIM Input 1, 2, 3 or 4 is selected to be connected to TRC.