A rough google translation:
I2C of PSoC 5 is used in slave mode.
Because the content of transmission was sometimes changed within the main loop during the data transfer by the slave,
When communication of I2C starts, data update is stopped, and it is set as a program which starts updating again when NACK is detected.
However, in this method, if the master stops data reading midway due to some reason,
There is concern that the next communication starts without receiving NACK.
For this reason, the slave detects the stop condition issued by the master,
In this case, I also want to restart the data update.
However, as far as I2C's manual "I2C Master / Multi-Master / Slave" is seen, it is a slave
Although there is no description on how to detect the stop condition,
Is it possible to detect the stop condition in some way?
If I'm understanding, you want to detect the I2C stop condition.
There is a status register for slave mode listed on Page 52 of the I2C component datasheet that includes a stop status bit:
Is this what you are looking for?