#include <uhd/types/serial.hpp>
Public Types | |
enum | edge_t { EDGE_RISE = 'r', EDGE_FALL = 'f' } |
Public Member Functions | |
spi_config_t (edge_t edge=EDGE_RISE) | |
Public Attributes | |
edge_t | mosi_edge |
on what edge is the mosi data valid? More... | |
edge_t | miso_edge |
on what edge is the miso data valid? More... | |
The SPI configuration struct: Used to configure a SPI transaction interface.
Create a new spi config.
edge | the default edge for mosi and miso |
edge_t uhd::spi_config_t::miso_edge |
on what edge is the miso data valid?
edge_t uhd::spi_config_t::mosi_edge |
on what edge is the mosi data valid?