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 #482 background imageLoading...
Page #482 background image
General-purpose timers (TIM)
UM1581
482/584
DocID023800 Rev 1
Parameters
ï‚· TIMx : where x can be 1 or 8 to select the TIM peripheral.
ï‚· TIM_OCClear : new state of the Output Compare Clear
Enable Bit. This parameter can be one of the following values:
 TIM_OCClear_Enable : TIM Output clear enable
 TIM_OCClear_Disable : TIM Output clear disable
Return values
ï‚· None.
Notes
ï‚· None.
22.2.12.40 TIM_SelectOCREFClear
Function Name
void TIM_SelectOCREFClear ( TIM_TypeDef * TIMx, uint16_t
TIM_OCReferenceClear)
Function Description
Selects the OCReference Clear source.
Parameters
ï‚· TIMx : where x can be 1, 2, 3, 4, 8, 15, 16 or 17 to select the
TIM peripheral.
ï‚· TIM_OCReferenceClear : specifies the OCReference Clear
source. This parameter can be one of the following values:
 TIM_OCReferenceClear_ETRF : The internal
OCreference clear input is connected to ETRF.
 TIM_OCReferenceClear_OCREFCLR : The internal
OCreference clear input is connected to OCREF_CLR
input.
Return values
ï‚· None.
Notes
ï‚· None.
22.2.12.41 TIM_OC1PolarityConfig
Function Name
void TIM_OC1PolarityConfig ( TIM_TypeDef * TIMx, uint16_t
TIM_OCPolarity)
Function Description
Configures the TIMx channel 1 polarity.
Parameters
ï‚· TIMx : where x can be 1, 2, 3, 4, 8, 15, 16 or 17 to select the
TIM peripheral.
ï‚· TIM_OCPolarity : specifies the OC1 Polarity This parameter
can be one of the following values:
 TIM_OCPolarity_High : Output Compare active high
 TIM_OCPolarity_Low : Output Compare active low

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