EasyManua.ls Logo

ST STM32F31xx

ST STM32F31xx
584 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
General-purpose timers (TIM)
UM1581
520/584
DocID023800 Rev 1
TIM_Input_Capture_Prescaler
#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.
TIM_Input_Capture_Selection
#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
#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.
#define: TIM_ICSelection_TRC ((uint16_t)0x0003)
TIM Input 1, 2, 3 or 4 is selected to be connected to TRC.
TIM_Internal_Trigger_Selection
#define: TIM_TS_ITR0 ((uint16_t)0x0000)
#define: TIM_TS_ITR1 ((uint16_t)0x0010)
#define: TIM_TS_ITR2 ((uint16_t)0x0020)
#define: TIM_TS_ITR3 ((uint16_t)0x0030)

Table of Contents

Related product manuals