uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
TIM_Input_Capture_Selection

Macros

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

Detailed Description

Macro Definition Documentation

#define IS_TIM_IC_SELECTION (   SELECTION)
Value:
(((SELECTION) == TIM_ICSelection_DirectTI) || \
((SELECTION) == TIM_ICSelection_IndirectTI) || \
((SELECTION) == TIM_ICSelection_TRC))

Definition at line 576 of file stm32f10x_tim.h.

#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

Definition at line 569 of file stm32f10x_tim.h.

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

Definition at line 572 of file stm32f10x_tim.h.

#define TIM_ICSelection_TRC   ((uint16_t)0x0003)

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

Definition at line 575 of file stm32f10x_tim.h.