libyggdrasil
v1.0.0
|
SPI implementation for Asgard. More...
#include <spi.hpp>
Static Public Member Functions | |
static bool | init () |
Init function. More... | |
static bool | deinit () |
Deinit function. More... | |
template<size_t N> | |
static void | read (std::array< u8, N > &data) |
SPI receive. More... | |
template<size_t N> | |
static void | write (const std::array< u8, N > &data) |
SPI write. More... | |
static void | setMode (bsp::drv::SPIMode mode) |
Set the spi mode (CPOL and CPHA) More... | |
SPI implementation for Asgard.
Context | SPI context |
|
inlinestatic |
Deinit function.
|
inlinestatic |
Init function.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |