1 Reply Latest reply on Nov 11, 2018 4:32 PM by XiaoweiZ_71

    How to enable interrupt callback when i2c master write or read is complete?

    WiLe_295706

      IRather than polling I2CMasterStatus(),  I would like to define an ISR callback that is called when I2CMasterWriteBuffer() or I2CMasterReadBuffer() has completed on a PSoC4200M.  This is easy to do when an SCB is configured as a UART, but the solution is not obvious to me when it is configured as an i2c master.

       

      Any pointers?

       

      Bill