Added SPI interrupt handler.