/* Enables or disables the specified TIM PWM shift /DMA reqeat.  */
void TIM_PWMShiftConfig(TIM_TypeDef *tim, u32 it, FunctionalState state)
/* Enables or disables the specified TIM PWM shift /DMA reqeat.  */
void TIM_PWMShiftConfig(TIM_TypeDef *tim, u32 it, FunctionalState state)
{
    (state) ? SET_BIT(tim->PDER, it) : CLEAR_BIT(tim->PDER, it);
}