Some basic SPI bus handling.