#include <uhd/usrp_clock/octoclock_eeprom.hpp>
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< Key, Val > | |
| dict (void) | |
| template<typename InputIterator > | |
| dict (InputIterator first, InputIterator last) | |
| std::size_t | size (void) const |
| std::vector< Key > | keys (void) const |
| std::vector< Val > | vals (void) const |
| bool | has_key (const Key &key) const |
| const Val & | get (const Key &key, const Val &other) const |
| const Val & | get (const Key &key) const |
| void | set (const Key &key, const Val &val) |
| const Val & | operator[] (const Key &key) const |
| Val & | operator[] (const Key &key) |
| bool | operator== (const dict< Key, Val > &other) const |
| bool | operator!= (const dict< Key, Val > &other) const |
| Val | pop (const Key &key) |
| void | update (const dict< Key, Val > &new_dict, bool fail_on_conflict=true) |
| operator std::map< Key, Val > () const | |
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.
| uhd::usrp_clock::octoclock_eeprom_t::octoclock_eeprom_t | ( | void | ) |
Make a new empty OctoClock EEPROM handler.
| uhd::usrp_clock::octoclock_eeprom_t::octoclock_eeprom_t | ( | transport::udp_simple::sptr | transport, |
| uint32_t | proto_ver | ||
| ) |
Make a new OctoClock EEPROM handler.
| transport | the UDP transport to the OctoClock |
| proto_ver | firmware protocol version |
| void uhd::usrp_clock::octoclock_eeprom_t::commit | ( | ) | const |
Write the contents of this object to the EEPROM.