/* Forces or releases Low Speed AHB peripheral reset.  */
void RCC_AHBPeriphResetCmd(u32 ahb_periph, FunctionalState state)
/* Forces or releases Low Speed AHB peripheral reset.  */
void RCC_AHBPeriphResetCmd(u32 ahb_periph, FunctionalState state)
{
    (state) ? (RCC->AHBRSTR |= ahb_periph) : (RCC->AHBRSTR &= ~ahb_periph);
}