USRP Hardware Driver and USRP Manual  Version: 3.13.0.HEAD-0-gf114cfa0
UHD and USRP Manual
uhd::usrp_clock::octoclock_eeprom_t Class Reference

#include <uhd/usrp_clock/octoclock_eeprom.hpp>

Inheritance diagram for uhd::usrp_clock::octoclock_eeprom_t:
uhd::dict< std::string, std::string >

Public Member Functions

 octoclock_eeprom_t (void)
 Make a new empty OctoClock EEPROM handler. More...
 
 octoclock_eeprom_t (transport::udp_simple::sptr transport, uint32_t proto_ver)
 
void commit () const
 
- Public Member Functions inherited from uhd::dict< std::string, std::string >
 dict (void)
 
 dict (InputIterator first, InputIterator last)
 
std::size_t size (void) const
 
std::vector< std::string > keys (void) const
 
std::vector< std::string > vals (void) const
 
bool has_key (const std::string &key) const
 
const std::string & get (const std::string &key, const std::string &other) const
 
const std::string & get (const std::string &key) const
 
void set (const std::string &key, const std::string &val)
 
const std::string & operator[] (const std::string &key) const
 
std::string & operator[] (const std::string &key)
 
bool operator== (const dict< std::string, std::string > &other) const
 
bool operator!= (const dict< std::string, std::string > &other) const
 
std::string pop (const std::string &key)
 
void update (const dict< std::string, std::string > &new_dict, bool fail_on_conflict=true)
 

Detailed Description

The OctoClock EEPROM object: Knows how to read and write the OctoClock EEPROM. 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

◆ octoclock_eeprom_t() [1/2]

uhd::usrp_clock::octoclock_eeprom_t::octoclock_eeprom_t ( void  )

Make a new empty OctoClock EEPROM handler.

◆ octoclock_eeprom_t() [2/2]

uhd::usrp_clock::octoclock_eeprom_t::octoclock_eeprom_t ( transport::udp_simple::sptr  transport,
uint32_t  proto_ver 
)

Make a new OctoClock EEPROM handler.

Parameters
transportthe UDP transport to the OctoClock
proto_verfirmware protocol version

Member Function Documentation

◆ commit()

void uhd::usrp_clock::octoclock_eeprom_t::commit ( ) const

Write the contents of this object to the EEPROM.


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