/* I2C Peripheral Disable. 
This must not be reset while in Master mode until a communication has finished. In Slave mode, the peripheral is disabled only after communication has ended. */
void i2c_peripheral_disable(uint32_t i2c)
/* I2C Peripheral Disable. 
This must not be reset while in Master mode until a communication has finished. In Slave mode, the peripheral is disabled only after communication has ended. */
void i2c_peripheral_disable(uint32_t i2c)
{
	I2C_CR1(i2c) &= ~I2C_CR1_PE;
}