The Arduino already handles interrupt driven UART comms. That is what the Serial class does. e.g. Serial1, Serial2, Serial3, Serial4
Look in the Arduino Learning->Language Reference.
Or simply Google "Arduino Serial class"
Likewise you can read the docs for the "Wire library"
Yes, you can trash the existing library functionality with some of your own low-level C code. I do not advise it unless you know what you are doing
thank you . i will try it .
© 2018 Microchip Technology Inc.