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
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

Related product manuals