|
UHD
003.003.002
|
#include <mboard_eeprom.hpp>
Public Types | |
| enum | map_type { MAP_N100, MAP_B000, MAP_B100, MAP_E100 } |
| Possible EEPROM maps types. More... | |
Public Member Functions | |
| mboard_eeprom_t (void) | |
| Make a new empty mboard eeprom. | |
| mboard_eeprom_t (i2c_iface &iface, map_type map) | |
| void | commit (i2c_iface &iface, map_type map) 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.
Make a new empty mboard eeprom.
| uhd::usrp::mboard_eeprom_t::mboard_eeprom_t | ( | i2c_iface & | iface, |
| map_type | map | ||
| ) |
Make a new mboard EEPROM handler.
| iface | the interface to i2c |
| map | the map type enum |
| void uhd::usrp::mboard_eeprom_t::commit | ( | i2c_iface & | iface, |
| map_type | map | ||
| ) | const |
Write the contents of this object to the EEPROM.
| iface | the interface to i2c |
| map | the map type enum |
1.7.6.1