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 #607 background imageLoading...
Page #607 background image
UM1940
HAL TIM Generic Driver
DocID028236 Rev 2
607/1371
TIM_Base_SetConfig
Function name
void TIM_Base_SetConfig (TIM_TypeDef * TIMx,
TIM_Base_InitTypeDef * Structure)
Function description
Time Base configuration.
Parameters
TIMx: TIM peripheral
Structure: pointer on TIM Time Base required parameters
Return values
None:
TIM_TI1_SetConfig
Function name
void TIM_TI1_SetConfig (TIM_TypeDef * TIMx, uint32_t
TIM_ICPolarity, uint32_t TIM_ICSelection, uint32_t
TIM_ICFilter)
Function description
Configure the TI1 as Input.
Parameters
TIMx: to select the TIM peripheral.
TIM_ICPolarity: : The Input Polarity. This parameter can be
one of the following values:
TIM_ICPolarity_Rising
TIM_ICPolarity_Falling
TIM_ICPolarity_BothEdge
TIM_ICSelection: specifies the input to be used. This
parameter can be one of the following values:
TIM_ICSelection_DirectTI: TIM Input 1 is selected to be
connected to IC1.
TIM_ICSelection_IndirectTI: TIM Input 1 is selected to be
connected to IC2.
TIM_ICSelection_TRC: TIM Input 1 is selected to be
connected to TRC.
TIM_ICFilter: Specifies the Input Capture Filter. This
parameter must be a value between 0x00 and 0x0F.
Return values
None:
Notes
TIM_ICFilter and TIM_ICPolarity are not used in INDIRECT
mode as TI2FP1 (on channel2 path) is used as the input
signal. Therefore CCMR1 must be protected against un-
initialized filter and polarity values.
TIM_OC2_SetConfig
Function name
void TIM_OC2_SetConfig (TIM_TypeDef * TIMx,
TIM_OC_InitTypeDef * OC_Config)
Function description
Time Output Compare 2 configuration.
Parameters
TIMx: to select the TIM peripheral
OC_Config: The output configuration structure
Return values
None:
TIM_DMADelayPulseCplt
Function name
void TIM_DMADelayPulseCplt (DMA_HandleTypeDef * hdma)

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