USRP Hardware Driver and USRP Manual  Version: 4.6.0.0-7-gece7c4811
UHD and USRP Manual
octoclock_eeprom.hpp
Go to the documentation of this file.
1 //
2 // Copyright 2014 Ettus Research LLC
3 // Copyright 2018 Ettus Research, a National Instruments Company
4 //
5 // SPDX-License-Identifier: GPL-3.0-or-later
6 //
7 
8 #pragma once
9 
10 #include <uhd/config.hpp>
12 #include <uhd/types/dict.hpp>
14 #include <string>
15 
16 namespace uhd { namespace usrp_clock {
17 
26 {
27 public:
29  octoclock_eeprom_t(void);
30 
36  octoclock_eeprom_t(transport::udp_simple::sptr transport, uint32_t proto_ver);
37 
41  void commit() const;
42 
43 private:
45  uint32_t _proto_ver;
46  void _load();
47  void _store() const;
48 };
49 
50 }} // namespace uhd::usrp_clock
Definition: dict.hpp:21
Definition: build_info.hpp:12
#define UHD_API
Definition: config.h:87
std::shared_ptr< udp_simple > sptr
Definition: udp_simple.hpp:21
Definition: octoclock_eeprom.hpp:25