/* Deinitializes the COMP peripheral registers to their default reset values.  */
void COMP_DeInit(void)
/* Deinitializes the COMP peripheral registers to their default reset values.  */
void COMP_DeInit(void)
{
    RCC_EnableAPB1PeriphReset(RCC_APB1_PERIPH_COMP, ENABLE);
    RCC_EnableAPB1PeriphReset(RCC_APB1_PERIPH_COMP, DISABLE);
    RCC_EnableAPB1PeriphReset(RCC_APB1_PERIPH_COMP_FILT, ENABLE);
    RCC_EnableAPB1PeriphReset(RCC_APB1_PERIPH_COMP_FILT, DISABLE);
}