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 #469 background imageLoading...
Page #469 background image
UM1581
General-purpose timers (TIM)
DocID023800 Rev 1
469/584
Return values
ï‚· None.
Notes
ï‚· None.
22.2.12.11 TIM_SelectOCxM
Function Name
void TIM_SelectOCxM ( TIM_TypeDef * TIMx, uint16_t
TIM_Channel, uint32_t TIM_OCMode)
Function Description
Selects the TIM Output Compare Mode.
Parameters
ï‚· TIMx : where x can be 1, 2, 3, 4, 8, 15, 16 or 17 to select the
TIM peripheral.
ï‚· TIM_Channel : specifies the TIM Channel This parameter
can be one of the following values:
 TIM_Channel_1 : TIM Channel 1
 TIM_Channel_2 : TIM Channel 2
 TIM_Channel_3 : TIM Channel 3
 TIM_Channel_4 : TIM Channel 4
ï‚· TIM_OCMode : specifies the TIM Output Compare Mode.
This parameter can be one of the following values:
 TIM_OCMode_Timing :
 TIM_OCMode_Active :
 TIM_OCMode_Toggle :
 TIM_OCMode_PWM1 :
 TIM_OCMode_PWM2 :
 TIM_ForcedAction_Active :
 TIM_ForcedAction_InActive :
 TIM_OCMode_Retrigerrable_OPM1 :
 TIM_OCMode_Retrigerrable_OPM2 :
 TIM_OCMode_Combined_PWM1 :
 TIM_OCMode_Combined_PWM2 :
 TIM_OCMode_Asymmetric_PWM1 :
 TIM_OCMode_Asymmetric_PWM2 :
Return values
ï‚· None.
Notes
ï‚· This function disables the selected channel before changing
the Output Compare Mode. If needed, user has to enable this
channel using TIM_CCxCmd() and TIM_CCxNCmd()
functions.

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