EasyManuals Logo

ST STM32F2 User Manual

ST STM32F2
1371 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
Page #1231 background imageLoading...
Page #1231 background image
UM1940
LL TIM Generic Driver
DocID028236 Rev 2
1231/1371
occurs
Capture Compare Update Source
LL_TIM_CCUPDATESOURCE_COMG_ONLY
Capture/compare control bits are
updated by setting the COMG bit
only
LL_TIM_CCUPDATESOURCE_COMG_AND_TRGI
Capture/compare control bits are
updated by setting the COMG bit or
when a rising edge occurs on trigger
input (TRGI)
Channel
LL_TIM_CHANNEL_CH1
Timer input/output channel 1
LL_TIM_CHANNEL_CH1N
Timer complementary output channel 1
LL_TIM_CHANNEL_CH2
Timer input/output channel 2
LL_TIM_CHANNEL_CH2N
Timer complementary output channel 2
LL_TIM_CHANNEL_CH3
Timer input/output channel 3
LL_TIM_CHANNEL_CH3N
Timer complementary output channel 3
LL_TIM_CHANNEL_CH4
Timer input/output channel 4
Clock Division
LL_TIM_CLOCKDIVISION_DIV1
tDTS=tCK_INT
LL_TIM_CLOCKDIVISION_DIV2
tDTS=2*tCK_INT
LL_TIM_CLOCKDIVISION_DIV4
tDTS=4*tCK_INT
Clock Source
LL_TIM_CLOCKSOURCE_INTERNAL
The timer is clocked by the internal clock
provided from the RCC
LL_TIM_CLOCKSOURCE_EXT_MODE1
Counter counts at each rising or falling edge on
a selected inpu t
LL_TIM_CLOCKSOURCE_EXT_MODE2
Counter counts at each rising or falling edge on
the external trigger input ETR
Counter Direction
LL_TIM_COUNTERDIRECTION_UP
Timer counter counts up
LL_TIM_COUNTERDIRECTION_DOWN
Timer counter counts down
Counter Mode
LL_TIM_COUNTERMODE_UP
Counter used as upcounter
LL_TIM_COUNTERMODE_DOWN
Counter used as downcounter
LL_TIM_COUNTERMODE_CENTER_UP
The counter counts up and down
alternatively. Output compare interrupt
flags of output channels are set only
when the counter is counting down.
LL_TIM_COUNTERMODE_CENTER_DOWN
The counter counts up and down
alternatively. Output compare interrupt
flags of output channels are set only

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F2 and is the answer not in the manual?

ST STM32F2 Specifications

General IconGeneral
BrandST
ModelSTM32F2
CategoryMicrocontrollers
LanguageEnglish

Related product manuals