controller_bb_8_driver/src/i2c.c
void i2cStartUp(void)
{
    palSetLineMode( SCL_LINE,  PAL_MODE_ALTERNATE(4) | PAL_STM32_OTYPE_OPENDRAIN  );
    palSetLineMode( DATA_LINE, PAL_MODE_ALTERNATE(4) | PAL_STM32_OTYPE_OPENDRAIN );

    i2cStart(i2cDriver, &i2c1conf);
}
/**
 * @brief   Start hardware i2c module as master
 */
@brief   Start hardware i2c module as master
@brief Start hardware i2c module as master
void i2cStartUp(void)
{
    palSetLineMode( SCL_LINE,  PAL_MODE_ALTERNATE(4) | PAL_STM32_OTYPE_OPENDRAIN  );
    palSetLineMode( DATA_LINE, PAL_MODE_ALTERNATE(4) | PAL_STM32_OTYPE_OPENDRAIN );
    i2cStart(i2cDriver, &i2c1conf);
}
void i2cStartUp ( void ) { palSetLineMode ( SCL_LINE , PAL_MODE_ALTERNATE ( 4 ) | PAL_STM32_OTYPE_OPENDRAIN ) ; palSetLineMode ( DATA_LINE , PAL_MODE_ALTERNATE ( 4 ) | PAL_STM32_OTYPE_OPENDRAIN ) ; i2cStart ( i2cDriver , & i2c1conf ) ; }
@brief   Start hardware i2c module as master
@brief Start hardware i2c module as master