/* Configures the TIMx event to be generate by software.  */
void TIM_GenerateEvent(TIM_Module *TIMx, uint16_t TIM_EventSource)
/* Configures the TIMx event to be generate by software.  */
void TIM_GenerateEvent(TIM_Module *TIMx, uint16_t TIM_EventSource)
{
    assert_param(IsTimAllModule(TIMx));
    assert_param(IsTimEvtSrc(TIM_EventSource));
    TIMx->EVTGEN = TIM_EventSource;
}