General-purpose timers (TIM)
22.2.17.2 TIM_SelectOutputTrigger
void TIM_SelectOutputTrigger ( TIM_TypeDef * TIMx, uint16_t
TIM_TRGOSource)
Selects the TIMx Trigger Output Mode.
ï‚· TIMx : where x can be 1, 2, 3, 4, 5, 6, 7, 8 or 15 to select the
TIM peripheral.
ï‚· TIM_TRGOSource : specifies the Trigger Output source.
This parameter can be one of the following values:
22.2.17.3 TIM_SelectOutputTrigger2
void TIM_SelectOutputTrigger2 ( TIM_TypeDef * TIMx,
uint32_t TIM_TRGO2Source)
Selects the TIMx Trigger Output Mode2 (TRGO2).
ï‚· TIMx : where x can be 1 or 8 to select the TIM peripheral.
ï‚· TIM_TRGO2Source : specifies the Trigger Output source.
This parameter can be one of the following values:
22.2.17.4 TIM_SelectSlaveMode
void TIM_SelectSlaveMode ( TIM_TypeDef * TIMx, uint32_t
TIM_SlaveMode)
Selects the TIMx Slave Mode.
ï‚· TIMx : where x can be 1, 2, 3, 4, 8 or 15 to select the TIM
peripheral.
ï‚· TIM_SlaveMode : specifies the Timer Slave Mode. This
parameter can be one of the following values:
ï€ TIM_SlaveMode_Reset : Rising edge of the selected
trigger signal(TRGI) reinitialize the counter and triggers
an update of the registers
ï€ TIM_SlaveMode_Gated : The counter clock is enabled