I am trying to understand the code of lpi2c_interrupt.c but I couldn't find the internal register address of slave to which data is written. I hope LPI2C_MASTER_SLAVE_ADDR_7BIT corresponds to the 7 bit slave address. Also please explain what is meant by peripheral base address.
Hi Abhiram D
In this example, one lpi2c instance used as lpi2c master and another lpi2c instance used as lpi2c slave. So the EXAMPLE_LPI2C_MASTER_BASEADDR and the EXAMPLE_LPI2C_SLAVE_BASEADDR are the base address of the peripheral in the RT device, and the LPI2C_MASTER_SLAVE_ADDR_7BIT is the slave address used by the i2c protocol.