libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
spi_common_v1_frf.h File Reference
Include dependency graph for spi_common_v1_frf.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SPI_CR2_FRF   (1 << 4)
 
#define SPI_CR2_FRF_MOTOROLA_MODE   (0 << 4)
 
#define SPI_CR2_FRF_TI_MODE   (1 << 4)
 
#define SPI_SR_TIFRFE   (1 << 8)
 
#define SPI_SR_FRE   (1 << 8)
 

Functions

void spi_set_frf_ti (uint32_t spi)
 SPI Set Frame Format to TI. More...
 
void spi_set_frf_motorola (uint32_t spi)
 SPI Set Frame Format to Motorola. More...