UHD
003.005.000-54-stable
|
#include <mboard_eeprom.hpp>
Public Member Functions | |
mboard_eeprom_t (void) | |
Make a new empty mboard eeprom. | |
mboard_eeprom_t (i2c_iface &iface, const std::string &which) | |
void | commit (i2c_iface &iface, const std::string &which) const |
The motherboard EEPROM object: Knows how to read and write the EEPROM for various USRPs. The class inherits from a string, string dictionary. Use the dictionary interface to get and set values. Commit to the EEPROM to save changed settings.
uhd::usrp::mboard_eeprom_t::mboard_eeprom_t | ( | void | ) |
Make a new empty mboard eeprom.
uhd::usrp::mboard_eeprom_t::mboard_eeprom_t | ( | i2c_iface & | iface, |
const std::string & | which | ||
) |
Make a new mboard EEPROM handler.
iface | the interface to i2c |
which | which EEPROM map to use |
void uhd::usrp::mboard_eeprom_t::commit | ( | i2c_iface & | iface, |
const std::string & | which | ||
) | const |
Write the contents of this object to the EEPROM.
iface | the interface to i2c |
which | which EEPROM map to use |