UHD 003.001.001
Public Member Functions | Public Attributes

uhd::usrp::dboard_eeprom_t Struct Reference

#include <dboard_eeprom.hpp>

List of all members.

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)

Public Attributes

dboard_id_t id
 The ID for the daughterboard type.
std::string serial
 The unique serial number.

Constructor & Destructor Documentation

uhd::usrp::dboard_eeprom_t::dboard_eeprom_t ( void  )

Create an empty dboard eeprom struct.


Member Function Documentation

void uhd::usrp::dboard_eeprom_t::load ( i2c_iface iface,
boost::uint8_t  addr 
)

Load the object with bytes from the eeprom.

Parameters:
ifacethe serial interface with i2c
addrthe i2c address for the eeprom
void uhd::usrp::dboard_eeprom_t::store ( i2c_iface iface,
boost::uint8_t  addr 
)

Store the object to bytes in the eeprom.

Parameters:
ifacethe serial interface with i2c
addrthe i2c address for the eeprom

Member Data Documentation

The ID for the daughterboard type.

The unique serial number.


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