struct SPIClass { unsigned char transfer(unsigned char val); }; struct SPIClass SPI;