HAL
LL_TIM_BDTR_Init() is only used within HAL.
 
Symbols
loading...
Files
loading...

LL_TIM_BDTR_Init() function

Configure the Break and Dead Time feature of the timer instance.

Arguments

TIMx

Timer Instance

TIM_BDTRInitStruct

pointer to a LL_TIM_BDTR_InitTypeDef structure (Break and Dead Time configuration data structure)

Return value

An ErrorStatus enumeration value: - SUCCESS: Break and Dead Time is initialized - ERROR: not applicable

Notes

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.