Added SPI read/write functions to cc1120.c