Are SPI or I2C timer interrupt based protocols?

I don't think that any code is necessary

OK. Sorry to have bothered you.