USRP Hardware Driver and USRP Manual  Version: 4.6.0.0
UHD and USRP Manual
uhd::usrp::dboard_eeprom_t Struct Reference

#include <uhd/usrp/dboard_eeprom.hpp>

Public Member Functions

 dboard_eeprom_t (void)
 
void load (i2c_iface &iface, uint8_t addr)
 
void store (i2c_iface &iface, uint8_t addr) const
 

Public Attributes

dboard_id_t id
 The ID for the daughterboard type. More...
 
std::string serial
 The unique serial number. More...
 
std::string revision
 A hardware revision number. More...
 

Constructor & Destructor Documentation

◆ dboard_eeprom_t()

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

Create an empty dboard eeprom struct.

Member Function Documentation

◆ load()

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

Load the object with bytes from the eeprom.

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

◆ store()

void uhd::usrp::dboard_eeprom_t::store ( i2c_iface iface,
uint8_t  addr 
) const

Store the object to bytes in the eeprom.

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

Member Data Documentation

◆ id

dboard_id_t uhd::usrp::dboard_eeprom_t::id

The ID for the daughterboard type.

◆ revision

std::string uhd::usrp::dboard_eeprom_t::revision

A hardware revision number.

◆ serial

std::string uhd::usrp::dboard_eeprom_t::serial

The unique serial number.


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