/* Receives multiple bytes from the SPI bus and writes them to a buffer. */
void spi_cc_rec_data(uint8 *buffer, uint16 len)
/* Receives multiple bytes from the SPI bus and writes them to a buffer. */
void spi_cc_rec_data(uint8 *buffer, uint16 len)
{
        *buffer++ = spi_rec_byte();
    } while(--len);
}