USRP Hardware Driver and USRP Manual: octoclock_eeprom.hpp Source File

| USRP Hardware Driver and USRP Manual Version: 4.9.0.makepkg-0-g9ec1f582 UHD and USRP Manual |

Loading...
Searching...
No Matches
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>
11#include <uhd/transport/udp_simple.hpp>
12#include <uhd/types/dict.hpp>
13#include <uhd/usrp/mboard_eeprom.hpp>
14#include <string>
15
16namespace uhd { namespace usrp_clock {
17
25 class UHD_API octoclock_eeprom_t : public uhd::usrp::mboard_eeprom_t
26{
27public:
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
43private:
44 transport::udp_simple::sptr xport;
45 uint32_t _proto_ver;
46 void _load();
47 void _store() const;
48};
49
50}} // namespace uhd::usrp_clock
uhd::transport::udp_simple::sptr
std::shared_ptr< udp_simple > sptr
Definition udp_simple.hpp:23
uhd::usrp_clock::octoclock_eeprom_t::octoclock_eeprom_t
octoclock_eeprom_t(void)
Make a new empty OctoClock EEPROM handler.
uhd::usrp_clock::octoclock_eeprom_t::commit
void commit() const
uhd::usrp_clock::octoclock_eeprom_t::octoclock_eeprom_t
octoclock_eeprom_t(transport::udp_simple::sptr transport, uint32_t proto_ver)
UHD_API
#define UHD_API
Definition config.h:87
config.hpp
dict.hpp
mboard_eeprom.hpp
uhd::transport
Definition adapter_id.hpp:11
uhd::usrp_clock
Definition multi_usrp_clock.hpp:17
uhd::usrp::mboard_eeprom_t
uhd::dict< std::string, std::string > mboard_eeprom_t
Definition mboard_eeprom.hpp:27
uhd
Definition build_info.hpp:12
udp_simple.hpp