Timer and SPI

cannot compiler inline function