libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
#include <libopencm3/stm32/common/spi_common_v1.h>
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... | |