CC1 capture or a compare match is used as trigger output
OC1REF signal is used as trigger output
OC2REF signal is used as trigger output
OC3REF signal is used as trigger output
OC4REF signal is used as trigger output
Trigger Selection
Internal Trigger 0 (ITR0) is used as trigger input
Internal Trigger 1 (ITR1) is used as trigger input
Internal Trigger 2 (ITR2) is used as trigger input
Internal Trigger 3 (ITR3) is used as trigger input
TI1 Edge Detector (TI1F_ED) is used as trigger input
Filtered Timer Input 1 (TI1FP1) is used as trigger input
Filtered Timer Input 2 (TI12P2) is used as trigger input
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
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);
Description:
HELPER macro calculating the prescaler value to