USRP Hardware Driver and USRP Manual  Version: 3.11.0.HEAD-0-gdca39145
UHD and USRP Manual
dboard_eeprom.hpp
Go to the documentation of this file.
1 //
2 // Copyright 2010-2011 Ettus Research LLC
3 //
4 // SPDX-License-Identifier: GPL-3.0
5 //
6 
7 #ifndef INCLUDED_UHD_USRP_DBOARD_EEPROM_HPP
8 #define INCLUDED_UHD_USRP_DBOARD_EEPROM_HPP
9 
10 #include <uhd/config.hpp>
11 #include <uhd/usrp/dboard_id.hpp>
12 #include <uhd/types/serial.hpp>
13 #include <string>
14 
15 namespace uhd{ namespace usrp{
16 
18 
21 
23  std::string serial;
24 
26  std::string revision;
27 
31  dboard_eeprom_t(void);
32 
38  void load(i2c_iface &iface, uint8_t addr);
39 
45  void store(i2c_iface &iface, uint8_t addr) const;
46 
47 };
48 
49 }} //namespace
50 
51 #endif /* INCLUDED_UHD_USRP_DBOARD_EEPROM_HPP */
dboard_id_t id
The ID for the daughterboard type.
Definition: dboard_eeprom.hpp:20
Definition: dboard_id.hpp:17
Definition: serial.hpp:34
Definition: build_info.hpp:14
Definition: dboard_eeprom.hpp:17
std::string serial
The unique serial number.
Definition: dboard_eeprom.hpp:23
std::string revision
A hardware revision number.
Definition: dboard_eeprom.hpp:26
#define UHD_API
Definition: config.h:62