move SPI declarations