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 #1186 background imageLoading...
Page #1186 background image
LL TIM Generic Driver
UM1940
1186/1371
DocID028236 Rev 2
external event.
This function can only be used in Output compare and PWM
modes. It does not work in Forced mode.
Macro IS_TIM_OCXREF_CLEAR_INSTANCE(TIMx) can be
used to check whether or not a timer instance can clear the
OCxREF signal on an external event.
Reference Manual to
LL API cross
reference:
CCMR1 OC1CE LL_TIM_OC_IsEnabledClear
CCMR1 OC2CE LL_TIM_OC_IsEnabledClear
CCMR2 OC3CE LL_TIM_OC_IsEnabledClear
CCMR2 OC4CE LL_TIM_OC_IsEnabledClear
LL_TIM_OC_SetDeadTime
Function name
__STATIC_INLINE void LL_TIM_OC_SetDeadTime
(TIM_TypeDef * TIMx, uint32_t DeadTime)
Function description
Set the dead-time delay (delay inserted between the rising edge of
the OCxREF signal and the rising edge if the Ocx and OCxN
signals).
Parameters
TIMx: Timer instance
DeadTime: between Min_Data=0 and Max_Data=255
Return values
None:
Notes
Macro IS_TIM_BREAK_INSTANCE(TIMx) can be used to
check whether or not dead-time insertion feature is supported
by a timer instance.
Helper macro __LL_TIM_CALC_DEADTIME can be used to
calculate the DeadTime parameter
Reference Manual to
LL API cross
reference:
BDTR DTG LL_TIM_OC_SetDeadTime
LL_TIM_OC_SetCompareCH1
Function name
__STATIC_INLINE void LL_TIM_OC_SetCompareCH1
(TIM_TypeDef * TIMx, uint32_t CompareValue)
Function description
Set compare value for output channel 1 (TIMx_CCR1).
Parameters
TIMx: Timer instance
CompareValue: between Min_Data=0 and
Max_Data=65535
Return values
None:
Notes
In 32-bit timer implementations compare value can be
between 0x00000000 and 0xFFFFFFFF.
Macro IS_TIM_32B_COUNTER_INSTANCE(TIMx) can be
used to check whether or not a timer instance supports a 32
bits counter.
Macro IS_TIM_CC1_INSTANCE(TIMx) can be used to check
whether or not output channel 1 is supported by a timer
instance.

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