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
Timer input/output channel 1
Timer complementary output channel 1
Timer input/output channel 2
Timer complementary output channel 2
Timer input/output channel 3
Timer complementary output channel 3
Timer input/output channel 4
Clock Division
LL_TIM_CLOCKDIVISION_DIV1
LL_TIM_CLOCKDIVISION_DIV2
LL_TIM_CLOCKDIVISION_DIV4
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
LL_TIM_COUNTERDIRECTION_DOWN
Timer counter counts down
Counter Mode
Counter used as upcounter
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