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 #460 background imageLoading...
Page #460 background image
General-purpose timers (TIM)
UM1581
460/584
DocID023800 Rev 1
22.2.11.5 TIM_CounterModeConfig
Function Name
void TIM_CounterModeConfig ( TIM_TypeDef * TIMx, uint16_t
TIM_CounterMode)
Function Description
Specifies the TIMx Counter Mode to be used.
Parameters
ï‚· TIMx : where x can be 1, 2, 3, 4 or 8 to select the TIM
peripheral.
ï‚· TIM_CounterMode : specifies the Counter Mode to be used
This parameter can be one of the following values:
 TIM_CounterMode_Up : TIM Up Counting Mode
 TIM_CounterMode_Down : TIM Down Counting Mode
 TIM_CounterMode_CenterAligned1 : TIM Center
Aligned Mode1
 TIM_CounterMode_CenterAligned2 : TIM Center
Aligned Mode2
 TIM_CounterMode_CenterAligned3 : TIM Center
Aligned Mode3
Return values
ï‚· None.
Notes
ï‚· None.
22.2.11.6 TIM_SetCounter
Function Name
void TIM_SetCounter ( TIM_TypeDef * TIMx, uint32_t Counter)
Function Description
Sets the TIMx Counter Register value.
Parameters
ï‚· TIMx : where x can be 1, 2, 3, 4, 6 ,7 ,8, 15, 16 or 17 to
select the TIM peripheral.
ï‚· Counter : specifies the Counter register new value.
Return values
ï‚· None.
Notes
ï‚· None.
22.2.11.7 TIM_SetAutoreload
Function Name
void TIM_SetAutoreload ( TIM_TypeDef * TIMx, uint32_t

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