General-purpose timers (TIM)
22.2.11.10 TIM_UpdateDisableConfig
void TIM_UpdateDisableConfig ( TIM_TypeDef * TIMx,
FunctionalState NewState)
Enables or Disables the TIMx Update event.
TIMx : where x can be 1, 2, 3, 4, 6 ,7 ,8, 15, 16 or 17 to
select the TIM peripheral.
NewState : new state of the TIMx UDIS bit This parameter
can be: ENABLE or DISABLE.
22.2.11.11 TIM_UpdateRequestConfig
void TIM_UpdateRequestConfig ( TIM_TypeDef * TIMx,
uint16_t TIM_UpdateSource)
Configures the TIMx Update Request Interrupt source.
TIMx : where x can be 1, 2, 3, 4, 6 ,7 ,8, 15, 16 or 17 to
select the TIM peripheral.
TIM_UpdateSource : specifies the Update source. This
parameter can be one of the following values:
TIM_UpdateSource_Regular : Source of update is the
counter overflow/underflow or the setting of UG bit, or an
update generation through the slave mode controller.
TIM_UpdateSource_Global : Source of update is
counter overflow/underflow.