/* Configures the data size for the selected SPI.  */
void SPI_ConfigDataSize(SPI_T *spi, SPI_DATA_LENGTH_T length)
/* Configures the data size for the selected SPI.  */
void SPI_ConfigDataSize(SPI_T *spi, SPI_DATA_LENGTH_T length)
{
    spi->CTRL1_B.DFLSEL = length;
}