xcore/sc_spi — pull request #6 by cyborg-x1 (2014-12-16 11:33:15+00:00)
Title: move config to struct, add nullable in port

With the current code it is not possible to have multiple spi interfaces in one system,
because the SPI_MODE will be fixed to a define and a global value inside the xc file (sclk_val).