EasyManuals Logo

ST STM32F31xx User Manual

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
Page #464 background imageLoading...
Page #464 background image
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

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F31xx and is the answer not in the manual?

ST STM32F31xx Specifications

General IconGeneral
BrandST
ModelSTM32F31xx
CategoryMicrocontrollers
LanguageEnglish

Related product manuals