UHD 003.004.001-38-stable
|
#include <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? | |
edge_t | miso_edge |
on what edge is the miso data valid? |
The SPI configuration struct: Used to configure a SPI transaction interface.
uhd::spi_config_t::spi_config_t | ( | edge_t | edge = EDGE_RISE | ) |
Create a new spi config.
edge | the default edge for mosi and miso |
on what edge is the miso data valid?
on what edge is the mosi data valid?