18 #ifndef INCLUDED_UHD_TYPES_SERIAL_HPP 19 #define INCLUDED_UHD_TYPES_SERIAL_HPP 22 #include <boost/cstdint.hpp> 51 virtual void write_i2c(
53 const byte_vector_t &buf
62 virtual byte_vector_t read_i2c(
73 virtual void write_eeprom(
75 boost::uint8_t offset,
76 const byte_vector_t &buf
86 virtual byte_vector_t read_eeprom(
88 boost::uint8_t offset,
135 virtual boost::uint32_t transact_spi(
138 boost::uint32_t data,
151 virtual boost::uint32_t read_spi(
154 boost::uint32_t data,
165 virtual void write_spi(
168 boost::uint32_t data,
Definition: serial.hpp:124
Definition: serial.hpp:44
edge_t mosi_edge
on what edge is the mosi data valid?
Definition: serial.hpp:108
#define UHD_API
Definition: config.hpp:76
Definition: convert.hpp:28
Definition: serial.hpp:97
std::vector< boost::uint8_t > byte_vector_t
Definition: serial.hpp:30
edge_t miso_edge
on what edge is the miso data valid?
Definition: serial.hpp:111
edge_t
Definition: serial.hpp:102