mirror of https://github.com/ARMmbed/mbed-os.git
1bf6d898b0
The most suitable place to free up I2C pins is in i2c_free(). Due to i2c_free() not available in I2C HAL, we free up I2C pins manually by configuring them back to GPIO. Without free-up of I2C pins, SDA/SCL pins of the same I2C peripheral may share by multiple ports due to 'all ports' tests here, and the following I2C tests would be subject to interference by shared ports. |
||
---|---|---|
.. | ||
analogin | ||
gpio | ||
gpio_irq | ||
i2c | ||
pwm | ||
spi | ||
uart |