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 #1230 background imageLoading...
Page #1230 background image
LL TIM Generic Driver
UM1940
1230/1371
DocID028236 Rev 2
configuration data structure)
Return values
None:
LL_TIM_BDTR_Init
Function name
ErrorStatus LL_TIM_BDTR_Init (TIM_TypeDef * TIMx,
LL_TIM_BDTR_InitTypeDef * TIM_BDTRInitStruct)
Function description
Configure the Break and Dead Time feature of the timer instance.
Parameters
TIMx: Timer Instance
TIM_BDTRInitStruct: pointer to a
LL_TIM_BDTR_InitTypeDef structure(Break and Dead Time
configuration data structure)
Return values
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.
67.3 TIM Firmware driver defines
67.3.1 TIM
Active Input Selection
LL_TIM_ACTIVEINPUT_DIRECTTI
ICx is mapped on TIx
LL_TIM_ACTIVEINPUT_INDIRECTTI
ICx is mapped on TIy
LL_TIM_ACTIVEINPUT_TRC
ICx is mapped on TRC
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
LL_TIM_BREAK_DISABLE
Break function disabled
LL_TIM_BREAK_ENABLE
Break function enabled
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
LL_TIM_CCDMAREQUEST_CC
CCx DMA request sent when CCx event occurs
LL_TIM_CCDMAREQUEST_UPDATE
CCx DMA requests sent when update event

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