UHD
003.004.002-27-stable
|
#include <dboard_eeprom.hpp>
Public Member Functions | |
dboard_eeprom_t (void) | |
void | load (i2c_iface &iface, boost::uint8_t addr) |
void | store (i2c_iface &iface, boost::uint8_t addr) const |
Public Attributes | |
dboard_id_t | id |
The ID for the daughterboard type. | |
std::string | serial |
The unique serial number. | |
std::string | revision |
A hardware revision number. |
uhd::usrp::dboard_eeprom_t::dboard_eeprom_t | ( | void | ) |
Create an empty dboard eeprom struct.
void uhd::usrp::dboard_eeprom_t::load | ( | i2c_iface & | iface, |
boost::uint8_t | addr | ||
) |
Load the object with bytes from the eeprom.
iface | the serial interface with i2c |
addr | the i2c address for the eeprom |
void uhd::usrp::dboard_eeprom_t::store | ( | i2c_iface & | iface, |
boost::uint8_t | addr | ||
) | const |
Store the object to bytes in the eeprom.
iface | the serial interface with i2c |
addr | the i2c address for the eeprom |
The ID for the daughterboard type.
A hardware revision number.
The unique serial number.