/* I2C Set the 7 bit Slave Address for the Peripheral. 
This sets an address for Slave mode operation, in 7 bit form. */
void i2c_set_own_7bit_slave_address(uint32_t i2c, uint8_t slave)
/* I2C Set the 7 bit Slave Address for the Peripheral. 
This sets an address for Slave mode operation, in 7 bit form. */
void i2c_set_own_7bit_slave_address(uint32_t i2c, uint8_t slave)
{
	I2C_OAR1(i2c) = (uint16_t)(slave << 1);
	I2C_OAR1(i2c) &= ~I2C_OAR1_OA1MODE;
}