Loading...
Searching...
No Matches
dboard_eeprom.hpp
Go to the documentation of this file.
//
// Copyright 2010-2011 Ettus Research LLC
// Copyright 2018 Ettus Research, a National Instruments Company
//
// SPDX-License-Identifier: GPL-3.0-or-later
//
#pragma once
#include <uhd/config.hpp>
#include <uhd/types/serial.hpp>
#include <uhd/usrp/dboard_id.hpp>
#include <string>
namespace uhd { namespace usrp {
struct UHD_API dboard_eeprom_t
{
dboard_id_t id;
std::string serial;
std::string revision;
dboard_eeprom_t(void);
void load(i2c_iface& iface, uint8_t addr);
void store(i2c_iface& iface, uint8_t addr) const;
};
}} // namespace uhd::usrp
uhd::i2c_iface
Definition serial.hpp:37
uhd::usrp::dboard_id_t
Definition dboard_id.hpp:18
UHD_API
#define UHD_API
Definition config.h:87
config.hpp
dboard_id.hpp
uhd::usrp
Definition container.hpp:15
uhd
Definition build_info.hpp:12
serial.hpp
uhd::usrp::dboard_eeprom_t::revision
std::string revision
A hardware revision number.
Definition dboard_eeprom.hpp:26
uhd::usrp::dboard_eeprom_t::id
dboard_id_t id
The ID for the daughterboard type.
Definition dboard_eeprom.hpp:20
uhd::usrp::dboard_eeprom_t::dboard_eeprom_t
dboard_eeprom_t(void)
uhd::usrp::dboard_eeprom_t::load
void load(i2c_iface &iface, uint8_t addr)
uhd::usrp::dboard_eeprom_t::store
void store(i2c_iface &iface, uint8_t addr) const
uhd::usrp::dboard_eeprom_t::serial
std::string serial
The unique serial number.
Definition dboard_eeprom.hpp:23