wip: added SPI I/O function declarations