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 #497 background imageLoading...
Page #497 background image
UM1581
General-purpose timers (TIM)
DocID023800 Rev 1
497/584
 TIM_EventSource_Trigger : Timer Trigger Event
source
 TIM_EventSource_Break : Timer Break event source
Return values
ï‚· None.
Notes
ï‚· TIM6 and TIM7 can only generate an update event.
ï‚· TIM_EventSource_COM and TIM_EventSource_Break are
used only with TIM1 and TIM8.
22.2.15.3 TIM_GetFlagStatus
Function Name
FlagStatus TIM_GetFlagStatus ( TIM_TypeDef * TIMx, uint32_t
TIM_FLAG)
Function Description
Checks whether the specified TIM flag is set or not.
Parameters
ï‚· TIMx : where x can be 1, 2, 3, 4, 6, 7, 8, 15, 16 or 17 to
select the TIM peripheral.
ï‚· TIM_FLAG : specifies the flag to check. This parameter can
be one of the following values:
 TIM_FLAG_Update : TIM update Flag
 TIM_FLAG_CC1 : TIM Capture Compare 1 Flag
 TIM_FLAG_CC2 : TIM Capture Compare 2 Flag
 TIM_FLAG_CC3 : TIM Capture Compare 3 Flag
 TIM_FLAG_CC4 : TIM Capture Compare 4 Flag
 TIM_FLAG_CC5 : TIM Capture Compare 5 Flag
 TIM_FLAG_CC6 : TIM Capture Compare 6 Flag
 TIM_FLAG_COM : TIM Commutation Flag
 TIM_FLAG_Trigger : TIM Trigger Flag
 TIM_FLAG_Break : TIM Break Flag
 TIM_FLAG_CC1OF : TIM Capture Compare 1 over
capture Flag
 TIM_FLAG_CC2OF : TIM Capture Compare 2 over
capture Flag
 TIM_FLAG_CC3OF : TIM Capture Compare 3 over
capture Flag
 TIM_FLAG_CC4OF : TIM Capture Compare 4 over
capture Flag
Return values
ï‚· The new state of TIM_FLAG (SET or RESET).
Notes
ï‚· TIM6 and TIM7 can have only one update flag.
ï‚· TIM_FLAG_COM and TIM_FLAG_Break are used only with
TIM1 and TIM8.

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