95 void spi0_slave_init(
void)
98 spi0_slave_arch_init();
100 #endif // USE_SPI0_SLAVE
106 void spi1_slave_init(
void)
109 spi1_slave_arch_init();
111 #endif // USE_SPI1_SLAVE
117 void spi2_slave_init(
void)
120 spi2_slave_arch_init();
122 #endif // USE_SPI2_SLAVE
128 void spi3_slave_init(
void)
131 spi3_slave_arch_init();
133 #endif // USE_SPI3_SLAVE
struct spi_periph spi2
receive transferred over DMA
void spi1_arch_init(void)
Architecture dependent SPI1 initialization.
volatile uint8_t suspend
control for stop/resume of the fifo
void spi_init(struct spi_periph *p)
Initialize a spi peripheral.
Architecture independent SPI (Serial Peripheral Interface) API.
SPI peripheral structure.
void spi_slave_init(struct spi_periph *p)
Initialize a spi peripheral in slave mode.
void spi2_arch_init(void)
Architecture dependent SPI2 initialization.
enum SPIStatus status
internal state of the peripheral
uint8_t trans_extract_idx
void spi0_arch_init(void)
Architecture dependent SPI0 initialization.
struct spi_periph spi1
receive transferred over DMA