Added 'SWAP' status code for SPI swap routine and made an ISR fix