ST STM32F2 User Manual page 1236

Description of stm32f2 hal and low layer drivers
Hide thumbs Also See for STM32F2:
Table of Contents

Advertisement

LL TIM Generic Driver
LL_TIM_DIER_CC3IE
LL_TIM_DIER_CC4IE
LL_TIM_DIER_COMIE
LL_TIM_DIER_TIE
LL_TIM_DIER_BIE
Lock Level
LL_TIM_LOCKLEVEL_OFF
LL_TIM_LOCKLEVEL_1
LL_TIM_LOCKLEVEL_2
LL_TIM_LOCKLEVEL_3
Output Configuration Idle State
LL_TIM_OCIDLESTATE_LOW
LL_TIM_OCIDLESTATE_HIGH
Output Configuration Mode
LL_TIM_OCMODE_FROZEN
LL_TIM_OCMODE_ACTIVE
LL_TIM_OCMODE_INACTIVE
LL_TIM_OCMODE_TOGGLE
LL_TIM_OCMODE_FORCED_INACTIVE
LL_TIM_OCMODE_FORCED_ACTIVE
LL_TIM_OCMODE_PWM1
LL_TIM_OCMODE_PWM2
Output Configuration Polarity
LL_TIM_OCPOLARITY_HIGH
LL_TIM_OCPOLARITY_LOW
Output Configuration State
LL_TIM_OCSTATE_DISABLE
LL_TIM_OCSTATE_ENABLE
One Pulse Mode
1236/1371
Capture/compare 3 interrupt enable
Capture/compare 4 interrupt enable
COM interrupt enable
Trigger interrupt enable
Break interrupt enable
LOCK OFF - No bit is write protected
LOCK Level 1
LOCK Level 2
LOCK Level 3
OCx=0 (after a dead-time if OC is implemented) when
MOE=0
OCx=1 (after a dead-time if OC is implemented) when
MOE=0
The comparison between the output compare
register TIMx_CCRy and the counter
TIMx_CNT has no effect on the output channel
level
OCyREF is forced high on compare match
OCyREF is forced low on compare match
OCyREF toggles on compare match
OCyREF is forced low
OCyREF is forced high
In upcounting, channel y is active as long as
TIMx_CNT<TIMx_CCRy else inactive. In
downcounting, channel y is inactive as long as
TIMx_CNT>TIMx_CCRy else active.
In upcounting, channel y is inactive as long as
TIMx_CNT<TIMx_CCRy else active. In
downcounting, channel y is active as long as
TIMx_CNT>TIMx_CCRy else inactive
OCxactive high
OCxactive low
OCx is not active
OCx signal is output on the corresponding output pin
DocID028236 Rev 2
UM1940

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Table of Contents

Save PDF