theCore C++ embedded framework
spi_i2s_bus.hpp File Reference

Contains platform driver implementation for SPI and I2S buses. More...

#include <stm32_device.hpp>
#include <common/spi.hpp>
#include <common/bus.hpp>
#include <common/irq.hpp>
#include <sys/types.h>
#include <ecl/assert.h>
#include <common/console.hpp>
Include dependency graph for spi_i2s_bus.hpp:
This graph shows which files directly or indirectly include this file:

Data Structures

struct  ecl::spi_i2s_cfg< dev >
 Base template class for the SPI/I2S configuration. More...
 
class  ecl::spi_i2s_bus< dev >
 Driver implementation for SPI and I2S. More...
 

Namespaces

 ecl
 

Enumerations

enum  ecl::spi_bus_type { ecl::spi_bus_type::spi, ecl::spi_bus_type::i2s }
 Defines type of the bus. More...
 

Detailed Description

Contains platform driver implementation for SPI and I2S buses.

In STM32F4 series SPI and I2S are implemented within the same controller.