targets/TARGET_Cypress/TARGET_PSOC6/i2c_api.c
static void i2c_init_pins(i2c_obj_t *obj)
{
    /* MBED driver reserves pins for I2C as Ditigal IO while doing I2C error
     * recovery in constructor.
     */
    pin_function(obj->pin_sda, pinmap_function(obj->pin_sda, PinMap_I2C_SDA));
    pin_function(obj->pin_scl, pinmap_function(obj->pin_scl, PinMap_I2C_SCL));
}
/*
 * Initializes i/o pins for i2c sda/scl.
 */
Initializes i/o pins for i2c sda/scl.
Initializes i / o pins for i2c sda / scl .
static void i2c_init_pins(i2c_obj_t *obj)
{
    pin_function(obj->pin_sda, pinmap_function(obj->pin_sda, PinMap_I2C_SDA));
    pin_function(obj->pin_scl, pinmap_function(obj->pin_scl, PinMap_I2C_SCL));
}
static void i2c_init_pins ( i2c_obj_t * obj ) { pin_function ( obj -> pin_sda , pinmap_function ( obj -> pin_sda , PinMap_I2C_SDA ) ) ; pin_function ( obj -> pin_scl , pinmap_function ( obj -> pin_scl , PinMap_I2C_SCL ) ) ; }
Initializes i/o pins for i2c sda/scl.
Initializes i / o pins for i2c sda / scl .
/* MBED driver reserves pins for I2C as Ditigal IO while doing I2C error
     * recovery in constructor.
     */