USRP Hardware Driver and USRP Manual Version: 3.15.0.0-MacPorts-Release
UHD and USRP Manual
 
Loading...
Searching...
No Matches
dboard_eeprom.hpp
Go to the documentation of this file.
1//
2// Copyright 2010-2011 Ettus Research LLC
3// Copyright 2018 Ettus Research, a National Instruments Company
4//
5// SPDX-License-Identifier: GPL-3.0-or-later
6//
7
8#ifndef INCLUDED_UHD_USRP_DBOARD_EEPROM_HPP
9#define INCLUDED_UHD_USRP_DBOARD_EEPROM_HPP
10
11#include <uhd/config.hpp>
12#include <uhd/types/serial.hpp>
14#include <string>
15
16namespace uhd { namespace usrp {
17
19{
22
24 std::string serial;
25
27 std::string revision;
28
33
39 void load(i2c_iface& iface, uint8_t addr);
40
46 void store(i2c_iface& iface, uint8_t addr) const;
47};
48
49}} // namespace uhd::usrp
50
51#endif /* INCLUDED_UHD_USRP_DBOARD_EEPROM_HPP */
Definition serial.hpp:37
Definition dboard_id.hpp:19
#define UHD_API
Definition config.h:68
Definition build_info.hpp:13
Definition dboard_eeprom.hpp:19
std::string revision
A hardware revision number.
Definition dboard_eeprom.hpp:27
dboard_id_t id
The ID for the daughterboard type.
Definition dboard_eeprom.hpp:21
void load(i2c_iface &iface, uint8_t addr)
void store(i2c_iface &iface, uint8_t addr) const
std::string serial
The unique serial number.
Definition dboard_eeprom.hpp:24