theCore C++ embedded framework
tm4c/export/aux/spi.hpp File Reference

Contains platform driver for TM4 SPI bus. More...

#include <ecl/assert.h>
#include <common/bus.hpp>
#include <driverlib/ssi.h>
Include dependency graph for tm4c/export/aux/spi.hpp:
This graph shows which files directly or indirectly include this file:

Data Structures

struct  ecl::spi_cfg< ch >
 Base template class for the SPI configuration. More...
 
class  ecl::spi< ch >
 TM4C driver implementation for SPI. More...
 

Namespaces

 ecl
 

Enumerations

enum  ecl::spi_channel { ecl::spi_channel::ch0 = SSI0_BASE, ecl::spi_channel::ch1 = SSI1_BASE, ecl::spi_channel::ch2 = SSI2_BASE, ecl::spi_channel::ch3 = SSI3_BASE }
 List of avaliable SPI channels. More...
 
enum  ecl::spi_type { ecl::spi_type::master }
 SPI master/slave selection. More...
 
enum  ecl::spi_cpol { ecl::spi_cpol::low, ecl::spi_cpol::high }
 SPI clock polarity. More...
 
enum  ecl::spi_cpha { ecl::spi_cpha::low, ecl::spi_cpha::high }
 SPI clock phase. More...
 

Detailed Description

Contains platform driver for TM4 SPI bus.