added low-level SPI driver interface

inspired by contiki: http://dak664.github.io/contiki-doxygen/a00178_source.html