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 #496 background imageLoading...
Page #496 background image
General-purpose timers (TIM)
UM1581
496/584
DocID023800 Rev 1
ï‚· TIM_IT : specifies the TIM interrupts sources to be enabled
or disabled. This parameter can be any combination of the
following values:
 TIM_IT_Update : TIM update Interrupt source
 TIM_IT_CC1 : TIM Capture Compare 1 Interrupt source
 TIM_IT_CC2 : TIM Capture Compare 2 Interrupt source
 TIM_IT_CC3 : TIM Capture Compare 3 Interrupt source
 TIM_IT_CC4 : TIM Capture Compare 4 Interrupt source
 TIM_IT_COM : TIM Commutation Interrupt source
 TIM_IT_Trigger : TIM Trigger Interrupt source
 TIM_IT_Break : TIM Break Interrupt source
Parameters
ï‚· NewState : new state of the TIM interrupts. This parameter
can be: ENABLE or DISABLE.
Return values
ï‚· None.
Notes
ï‚· For TIM6 and TIM7 only the parameter TIM_IT_Update can
be used
ï‚· For TIM9 and TIM12 only one of the following parameters can
be used: TIM_IT_Update, TIM_IT_CC1, TIM_IT_CC2 or
TIM_IT_Trigger.
ï‚· For TIM10, TIM11, TIM13 and TIM14 only one of the following
parameters can be used: TIM_IT_Update or TIM_IT_CC1
ï‚· TIM_IT_COM and TIM_IT_Break can be used only with TIM1
and TIM8
22.2.15.2 TIM_GenerateEvent
Function Name
void TIM_GenerateEvent ( TIM_TypeDef * TIMx, uint16_t
TIM_EventSource)
Function Description
Configures the TIMx event to be generate by software.
Parameters
ï‚· TIMx : where x can be 1, 2, 3, 4, 6, 7, 8, 15, 16 or 17 to
select the TIM peripheral.
ï‚· TIM_EventSource : specifies the event source. This
parameter can be one or more of the following values:
 TIM_EventSource_Update : Timer update Event
source
 TIM_EventSource_CC1 : Timer Capture Compare 1
Event source
 TIM_EventSource_CC2 : Timer Capture Compare 2
Event source
 TIM_EventSource_CC3 : Timer Capture Compare 3
Event source
 TIM_EventSource_CC4 : Timer Capture Compare 4
Event source
 TIM_EventSource_COM : Timer COM event source

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