EasyManua.ls Logo

ST STM32F31xx - Page 461

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
461/584
Autoreload)
Function Description
Sets the TIMx Autoreload Register value.
Parameters
TIMx : where x can be 1, 2, 3, 4, 6 ,7 ,8, 15, 16 or 17 to
select the TIM peripheral.
Autoreload : specifies the Autoreload register new value.
Return values
None.
Notes
None.
22.2.11.8 TIM_GetCounter
Function Name
uint32_t TIM_GetCounter ( TIM_TypeDef * TIMx)
Function Description
Gets the TIMx Counter value.
Parameters
TIMx : where x can be 1, 2, 3, 4, 6 ,7 ,8, 15, 16 or 17 to
select the TIM peripheral.
Return values
Counter Register value
Notes
None.
22.2.11.9 TIM_GetPrescaler
Function Name
uint16_t TIM_GetPrescaler ( TIM_TypeDef * TIMx)
Function Description
Gets the TIMx Prescaler value.
Parameters
TIMx : where x can be 1, 2, 3, 4, 6 ,7 ,8, 15, 16 or 17 to
select the TIM peripheral.
Return values
Prescaler Register value.
Notes
None.

Table of Contents

Related product manuals