I should be able to cancel any ongoing transaction for I2C Master and Slave interfaces.
In case of slave I'm using I2C_SlaveTransferAbort() what should cancel any read/write operation on I2C bus.
Is this OK ?
2. For I2C master I'm using freeRTOS wrappers and they dosn't have any API for aborting transfers.
Should I use I2C_MasterStop(I2C_Type *base) ?
I'm using interrupt driver I2C master and slave interfaces and nonblocking transfers. DMA is disabled.