/* Configures the TIMx event to be generate by software.  */
void RTIM_GenerateEvent(RTIM_TypeDef *TIMx, u32 TIM_EventSource)
/* Configures the TIMx event to be generate by software.  */
void RTIM_GenerateEvent(RTIM_TypeDef *TIMx, u32 TIM_EventSource)
{
	assert_param(IS_TIM_ALL_TIM(TIMx));
	assert_param((IS_HP_TIM_EVENT_SOURCE(TIM_EventSource) || IS_LP_TIM_EVENT_SOURCE(TIM_EventSource)));
	TIMx->EGR = TIM_EventSource;
}