EasyManua.ls Logo

ST STM32F31xx

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...
General-purpose timers (TIM)
UM1581
464/584
DocID023800 Rev 1
TIM_OPMode_Single :
TIM_OPMode_Repetitive :
Return values
None.
Notes
None.
22.2.11.15 TIM_SetClockDivision
Function Name
void TIM_SetClockDivision ( TIM_TypeDef * TIMx, uint16_t
TIM_CKD)
Function Description
Sets the TIMx Clock Division value.
Parameters
TIMx : where x can be 1, 2, 3, 4, 8, 15, 16 or 17, to select the
TIM peripheral.
TIM_CKD : specifies the clock division value. This parameter
can be one of the following value:
TIM_CKD_DIV1 : TDTS = Tck_tim
TIM_CKD_DIV2 : TDTS = 2*Tck_tim
TIM_CKD_DIV4 : TDTS = 4*Tck_tim
Return values
None.
Notes
None.
22.2.11.16 TIM_Cmd
Function Name
void TIM_Cmd ( TIM_TypeDef * TIMx, FunctionalState
NewState)
Function Description
Enables or disables the specified TIM peripheral.
Parameters
TIMx : where x can be 1, 2, 3, 4, 6, 7, 8, 15, 16 or 17 to
select the TIMx peripheral.
NewState : new state of the TIMx peripheral. This parameter
can be: ENABLE or DISABLE.
Return values
None.
Notes
None.

Table of Contents

Related product manuals