/* Fills each init_struct member with its default value.  */
void I2C_StructInit(I2C_InitTypeDef *init_struct)
/* Fills each init_struct member with its default value.  */
void I2C_StructInit(I2C_InitTypeDef *init_struct)
{
    init_struct->I2C_Mode       = I2C_CR_MASTER;
    init_struct->I2C_OwnAddress = I2C_OWN_ADDRESS;
    init_struct->I2C_Speed      = I2C_CR_STD;
    init_struct->I2C_ClockSpeed = 100000;
}