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...
UM1581
General-purpose timers (TIM)
DocID023800 Rev 1
465/584
22.2.12 Output Compare management functions
22.2.12.1 TIM_OC1Init
Function Name
void TIM_OC1Init ( TIM_TypeDef * TIMx, TIM_OCInitTypeDef *
TIM_OCInitStruct)
Function Description
Initializes the TIMx Channel1 according to the specified
parameters in the TIM_OCInitStruct.
Parameters
TIMx : where x can be 1, 2, 3, 4, 8, 15, 16 or 17, to select the
TIM peripheral.
TIM_OCInitStruct : pointer to a TIM_OCInitTypeDef
structure that contains the configuration information for the
specified TIM peripheral.
Return values
None.
Notes
None.
22.2.12.2 TIM_OC2Init
Function Name
void TIM_OC2Init ( TIM_TypeDef * TIMx, TIM_OCInitTypeDef *
TIM_OCInitStruct)
Function Description
Initializes the TIMx Channel2 according to the specified
parameters in the TIM_OCInitStruct.
Parameters
TIMx : where x can be 1, 2, 3, 4, 8 or 15 to select the TIM
peripheral.
TIM_OCInitStruct : pointer to a TIM_OCInitTypeDef
structure that contains the configuration information for the
specified TIM peripheral.
Return values
None.
Notes
None.

Table of Contents

Related product manuals