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
470/584
DocID023800 Rev 1
22.2.12.12 TIM_SetCompare1
Function Name
void TIM_SetCompare1 ( TIM_TypeDef * TIMx, uint32_t
Compare1)
Function Description
Sets the TIMx Capture Compare1 Register value.
Parameters
TIMx : where x can be 1, 2, 3, 4, 8, 15, 16 or 17 to select the
TIM peripheral.
Compare1 : specifies the Capture Compare1 register new
value.
Return values
None.
Notes
None.
22.2.12.13 TIM_SetCompare2
Function Name
void TIM_SetCompare2 ( TIM_TypeDef * TIMx, uint32_t
Compare2)
Function Description
Sets the TIMx Capture Compare2 Register value.
Parameters
TIMx : where x can be 1, 2, 3, 4, 8 or 15 to select the TIM
peripheral.
Compare2 : specifies the Capture Compare2 register new
value.
Return values
None.
Notes
None.
22.2.12.14 TIM_SetCompare3
Function Name
void TIM_SetCompare3 ( TIM_TypeDef * TIMx, uint32_t
Compare3)
Function Description
Sets the TIMx Capture Compare3 Register value.
Parameters
TIMx : where x can be 1, 2, 3, 4, 5 or 8 to select the TIM
peripheral.
Compare3 : specifies the Capture Compare3 register new

Table of Contents

Related product manuals