/* Fills each init_struct member with its default value.  */
void COMP_StructInit(COMP_InitTypeDef *init_struct)
/* Fills each init_struct member with its default value.  */
void COMP_StructInit(COMP_InitTypeDef *init_struct)
{
    init_struct->Invert         = COMP_InvertingInput_IO1;
    init_struct->NonInvert      = COMP_NonInvertingInput_IO1;
    init_struct->Output         = COMP_Output_None;
    init_struct->BlankingSrce   = COMP_BlankingSrce_None;
    init_struct->OutputPol      = COMP_NonInverted;
    init_struct->Hysteresis     = COMP_Hysteresis_No;
    init_struct->Mode           = COMP_Mode_UltraLowPower;
    init_struct->OFLT           = COMP_Filter_4_Period;
}