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
506/584
DocID023800 Rev 1
when the trigger signal (TRGI) is high
TIM_SlaveMode_Trigger : The counter starts at a
rising edge of the trigger TRGI
TIM_SlaveMode_External1 : Rising edges of the
selected trigger (TRGI) clock the counter
TIM_SlaveMode_Combined_ResetTrigger : Rising
edge of the selected trigger input (TRGI) reinitializes the
counter, generates an update of the registers and starts
the counter.
Return values
None.
Notes
None.
22.2.17.5 TIM_SelectMasterSlaveMode
Function Name
void TIM_SelectMasterSlaveMode ( TIM_TypeDef * TIMx,
uint16_t TIM_MasterSlaveMode)
Function Description
Sets or Resets the TIMx Master/Slave Mode.
Parameters
TIMx : where x can be 1, 2, 3, 4, 8 or 15 to select the TIM
peripheral.
TIM_MasterSlaveMode : specifies the Timer Master Slave
Mode. This parameter can be one of the following values:
TIM_MasterSlaveMode_Enable : synchronization
between the current timer and its slaves (through TRGO)
TIM_MasterSlaveMode_Disable : No action
Return values
None.
Notes
None.
22.2.17.6 TIM_ETRConfig
Function Name
void TIM_ETRConfig ( TIM_TypeDef * TIMx, uint16_t
TIM_ExtTRGPrescaler, uint16_t TIM_ExtTRGPolarity, uint16_t
ExtTRGFilter)
Function Description
Configures the TIMx External Trigger (ETR).
Parameters
TIMx : where x can be 1, 2, 3, 4 or 8 to select the TIM
peripheral.
TIM_ExtTRGPrescaler : The external Trigger Prescaler.

Table of Contents

Related product manuals