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 #457 background imageLoading...
Page #457 background image
UM1581
General-purpose timers (TIM)
DocID023800 Rev 1
457/584
ï‚· TIM_Break2Config()
ï‚· TIM_Break1Cmd()
ï‚· TIM_Break2Cmd()
ï‚· TIM_BDTRStructInit()
ï‚· TIM_CtrlPWMOutputs()
ï‚· TIM_SelectCOM()
ï‚· TIM_CCPreloadControl()
22.2.6 Interrupts, DMA and flags management functions
ï‚· TIM_ITConfig()
ï‚· TIM_GenerateEvent()
ï‚· TIM_GetFlagStatus()
ï‚· TIM_ClearFlag()
ï‚· TIM_GetITStatus()
ï‚· TIM_ClearITPendingBit()
ï‚· TIM_DMAConfig()
ï‚· TIM_DMACmd()
ï‚· TIM_SelectCCDMA()
22.2.7 Clocks management functions
ï‚· TIM_InternalClockConfig()
ï‚· TIM_ITRxExternalClockConfig()
ï‚· TIM_TIxExternalClockConfig()
ï‚· TIM_ETRClockMode1Config()
ï‚· TIM_ETRClockMode2Config()
22.2.8 Synchronization management functions
TIM Driver: how to use it in synchronization Mode
Case of two/several Timers
1. Configure the Master Timers using the following functions:
 void TIM_SelectOutputTrigger(TIM_TypeDef* TIMx, uint16_t
TIM_TRGOSource);
 void TIM_SelectMasterSlaveMode(TIM_TypeDef* TIMx, uint16_t
TIM_MasterSlaveMode);
2. Configure the Slave Timers using the following functions:
 void TIM_SelectInputTrigger(TIM_TypeDef* TIMx, uint16_t
TIM_InputTriggerSource);
 void TIM_SelectSlaveMode(TIM_TypeDef* TIMx, uint16_t TIM_SlaveMode);
Case of Timers and external trigger(ETR pin)
1. Configure the External trigger using this function:
 void TIM_ETRConfig(TIM_TypeDef* TIMx, uint16_t TIM_ExtTRGPrescaler,
uint16_t TIM_ExtTRGPolarity, uint16_t ExtTRGFilter);
2. Configure the Slave Timers using the following functions:
 void TIM_SelectInputTrigger(TIM_TypeDef* TIMx, uint16_t
TIM_InputTriggerSource);

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