/* Returns the most recent received data by the SPI peripheral.  */
uint8_t SPI_RxData8(SPI_T *spi)
/* Returns the most recent received data by the SPI peripheral.  */
uint8_t SPI_RxData8(SPI_T *spi)
{
    return  *((uint8_t*)&(spi->DATA));
}