configuration data structure)
LL_TIM_BDTR_Init
ErrorStatus LL_TIM_BDTR_Init (TIM_TypeDef * TIMx,
LL_TIM_BDTR_InitTypeDef * TIM_BDTRInitStruct)
Configure the Break and Dead Time feature of the timer instance.
TIMx: Timer Instance
TIM_BDTRInitStruct: pointer to a
LL_TIM_BDTR_InitTypeDef structure(Break and Dead Time
configuration data structure)
An: ErrorStatus enumeration value:
SUCCESS: Break and Dead Time is initialized
ERROR: not applicable
As the bits AOE, BKP, BKE, OSSR, OSSI and DTG[7:0] can
be write-locked depending on the LOCK configuration, it can
be necessary to configure all of them during the first write
access to the TIMx_BDTR register.
Macro IS_TIM_BREAK_INSTANCE(TIMx) can be used to
check whether or not a timer instance provides a break input.
67.3 TIM Firmware driver defines
67.3.1 TIM
Active Input Selection
LL_TIM_ACTIVEINPUT_DIRECTTI
LL_TIM_ACTIVEINPUT_INDIRECTTI
Automatic output enable
LL_TIM_AUTOMATICOUTPUT_DISABLE
MOE can be set only by software
LL_TIM_AUTOMATICOUTPUT_ENABLE
MOE can be set by software or automatically
at the next update event
Break Enable
break polarity
LL_TIM_BREAK_POLARITY_LOW
Break input BRK is active low
LL_TIM_BREAK_POLARITY_HIGH
Break input BRK is active high
Capture Compare DMA Request
CCx DMA request sent when CCx event occurs
LL_TIM_CCDMAREQUEST_UPDATE
CCx DMA requests sent when update event