(0 << STM_SPI_CR1_SSM) | /* Software SS handling */
(1 << STM_SPI_CR1_SSI) | /* ... */
(1 << STM_SPI_CR1_LSBFIRST) | /* Little endian */
(1 << STM_SPI_CR1_SPE) | /* Enable SPI unit */
(0 << STM_SPI_CR1_BR) | /* baud rate to pclk/2 */
(0 << STM_SPI_CR1_SSM) | /* Software SS handling */
(1 << STM_SPI_CR1_SSI) | /* ... */
(1 << STM_SPI_CR1_LSBFIRST) | /* Little endian */
(1 << STM_SPI_CR1_SPE) | /* Enable SPI unit */
(0 << STM_SPI_CR1_BR) | /* baud rate to pclk/2 */