UHD  003.005.000-54-stable
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Public Member Functions
uhd::usrp::mboard_eeprom_t Struct Reference

#include <mboard_eeprom.hpp>

Inheritance diagram for uhd::usrp::mboard_eeprom_t:
uhd::dict< std::string, std::string >

List of all members.

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

Detailed Description

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.


Constructor & Destructor Documentation

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.

Parameters:
ifacethe interface to i2c
whichwhich EEPROM map to use

Member Function Documentation

void uhd::usrp::mboard_eeprom_t::commit ( i2c_iface iface,
const std::string &  which 
) const

Write the contents of this object to the EEPROM.

Parameters:
ifacethe interface to i2c
whichwhich EEPROM map to use

The documentation for this struct was generated from the following file: