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 #1238 background imageLoading...
Page #1238 background image
LL TIM Generic Driver
UM1940
1238/1371
DocID028236 Rev 2
LL_TIM_TRGO_CC1IF
CC1 capture or a compare match is used as trigger output
LL_TIM_TRGO_OC1REF
OC1REF signal is used as trigger output
LL_TIM_TRGO_OC2REF
OC2REF signal is used as trigger output
LL_TIM_TRGO_OC3REF
OC3REF signal is used as trigger output
LL_TIM_TRGO_OC4REF
OC4REF signal is used as trigger output
Trigger Selection
LL_TIM_TS_ITR0
Internal Trigger 0 (ITR0) is used as trigger input
LL_TIM_TS_ITR1
Internal Trigger 1 (ITR1) is used as trigger input
LL_TIM_TS_ITR2
Internal Trigger 2 (ITR2) is used as trigger input
LL_TIM_TS_ITR3
Internal Trigger 3 (ITR3) is used as trigger input
LL_TIM_TS_TI1F_ED
TI1 Edge Detector (TI1F_ED) is used as trigger input
LL_TIM_TS_TI1FP1
Filtered Timer Input 1 (TI1FP1) is used as trigger input
LL_TIM_TS_TI2FP2
Filtered Timer Input 2 (TI12P2) is used as trigger input
LL_TIM_TS_ETRF
Filtered external Trigger (ETRF) is used as trigger input
Update Source
LL_TIM_UPDATESOURCE_REGULAR
Counter overflow/underflow, Setting the UG bit
or Update generation through the slave mode
controller generates an update request
LL_TIM_UPDATESOURCE_COUNTER
Only counter overflow/underflow generates an
update request
Exported_Macros
__LL_TIM_CALC_DEADTIME
Description:
HELPER macro calculating DTG[0:7] in the
TIMx_BDTR register to achieve the requested dead
time duration.
Parameters:
__TIMCLK__: timer input clock frequency (in Hz)
__CKD__: This parameter can be one of the
following values:
LL_TIM_CLOCKDIVISION_DIV1
LL_TIM_CLOCKDIVISION_DIV2
LL_TIM_CLOCKDIVISION_DIV4
__DT__: deadtime duration (in ns)
Return value:
DTG[0:7]
Notes:
ex: __LL_TIM_CALC_DEADTIME (80000000,
LL_TIM_GetClockDivision (), 120);
__LL_TIM_CALC_PSC
Description:
HELPER macro calculating the prescaler value to

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