USRP Hardware Driver and USRP Manual  Version: 3.11.0.HEAD-0-ga1b5c4ae
UHD and USRP Manual
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/usrp/dboard_id.hpp>
13 #include <uhd/types/serial.hpp>
14 #include <string>
15 
16 namespace uhd{ namespace usrp{
17 
19 
22 
24  std::string serial;
25 
27  std::string revision;
28 
32  dboard_eeprom_t(void);
33 
39  void load(i2c_iface &iface, uint8_t addr);
40 
46  void store(i2c_iface &iface, uint8_t addr) const;
47 
48 };
49 
50 }} //namespace
51 
52 #endif /* INCLUDED_UHD_USRP_DBOARD_EEPROM_HPP */
dboard_id_t id
The ID for the daughterboard type.
Definition: dboard_eeprom.hpp:21
Definition: dboard_id.hpp:18
Definition: serial.hpp:35
Definition: build_info.hpp:14
Definition: dboard_eeprom.hpp:18
std::string serial
The unique serial number.
Definition: dboard_eeprom.hpp:24
std::string revision
A hardware revision number.
Definition: dboard_eeprom.hpp:27
#define UHD_API
Definition: config.h:63