EasyManua.ls Logo

ST STM32F31xx - Page 459

ST STM32F31xx
584 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
Loading...
UM1581
General-purpose timers (TIM)
DocID023800 Rev 1
459/584
configuration information for the specified TIM peripheral.
Return values
None.
Notes
None.
22.2.11.3 TIM_TimeBaseStructInit
Function Name
void TIM_TimeBaseStructInit ( TIM_TimeBaseInitTypeDef *
TIM_TimeBaseInitStruct)
Function Description
Fills each TIM_TimeBaseInitStruct member with its default value.
Parameters
TIM_TimeBaseInitStruct : : pointer to a
TIM_TimeBaseInitTypeDef structure which will be initialized.
Return values
None.
Notes
None.
22.2.11.4 TIM_PrescalerConfig
Function Name
void TIM_PrescalerConfig ( TIM_TypeDef * TIMx, uint16_t
Prescaler, uint16_t TIM_PSCReloadMode)
Function Description
Configures the TIMx Prescaler.
Parameters
TIMx : where x can be 1, 2, 3, 4, 8, 15, 16 or 17 to select the
TIM peripheral.
Prescaler : specifies the Prescaler Register value
TIM_PSCReloadMode : specifies the TIM Prescaler Reload
mode This parameter can be one of the following values:
TIM_PSCReloadMode_Update : The Prescaler is
loaded at the update event.
TIM_PSCReloadMode_Immediate : The Prescaler is
loaded immediatly.
Return values
None.
Notes
None.

Table of Contents

Related product manuals