EasyManua.ls Logo

ST STM32F31xx - Page 460

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
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

Related product manuals