UHD 003.002.002
Public Types | 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 Types

enum  map_type { MAP_N100, MAP_B000, 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

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.


Member Enumeration Documentation

Possible EEPROM maps types.

Enumerator:
MAP_N100 
MAP_B000 
MAP_E100 

Constructor & Destructor Documentation

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,
map_type  map 
)

Make a new mboard EEPROM handler.

Parameters:
ifacethe interface to i2c
mapthe map type enum

Member Function Documentation

void uhd::usrp::mboard_eeprom_t::commit ( i2c_iface iface,
map_type  map 
) const

Write the contents of this object to the EEPROM.

Parameters:
ifacethe interface to i2c
mapthe map type enum

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines