/* Forces or releases Low Speed APB (APB1) peripheral reset.  */
void RCC_EnableAPB1PeriphReset(uint32_t RCC_APB1Periph, FunctionalState Cmd)
/* Forces or releases Low Speed APB (APB1) peripheral reset.  */
void RCC_EnableAPB1PeriphReset(uint32_t RCC_APB1Periph, FunctionalState Cmd)
{
    assert_param(IS_RCC_APB1_PERIPH(RCC_APB1Periph));
    assert_param(IS_FUNCTIONAL_STATE(Cmd));
    if (Cmd != DISABLE)
    {
       RCC->APB1PRST |= RCC_APB1Periph;
    }
    else
    {
       RCC->APB1PRST &= ~RCC_APB1Periph;
    }
}