aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/b100/clock_ctrl.hpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2020-03-02 15:25:13 -0800
committeratrnati <54334261+atrnati@users.noreply.github.com>2020-03-03 08:51:32 -0600
commit876d4150aa3da531ddd687b48afada6e43f79146 (patch)
treefd72a71419f4cd800d4e500cfcaded4dfc8dc367 /host/lib/usrp/b100/clock_ctrl.hpp
parent1393553d623bdf4ba40d5435c9719b6ce990d9ac (diff)
downloaduhd-876d4150aa3da531ddd687b48afada6e43f79146.tar.gz
uhd-876d4150aa3da531ddd687b48afada6e43f79146.tar.bz2
uhd-876d4150aa3da531ddd687b48afada6e43f79146.zip
uhd: Apply clang-format against all .cpp and .hpp files in host/
Note: template_lvbitx.{cpp,hpp} need to be excluded from the list of files that clang-format gets applied against.
Diffstat (limited to 'host/lib/usrp/b100/clock_ctrl.hpp')
-rw-r--r--host/lib/usrp/b100/clock_ctrl.hpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/host/lib/usrp/b100/clock_ctrl.hpp b/host/lib/usrp/b100/clock_ctrl.hpp
index b208e8a0c..318d1b248 100644
--- a/host/lib/usrp/b100/clock_ctrl.hpp
+++ b/host/lib/usrp/b100/clock_ctrl.hpp
@@ -17,7 +17,8 @@
* The B100 clock control:
* - Disable/enable clock lines.
*/
-class b100_clock_ctrl : uhd::noncopyable{
+class b100_clock_ctrl : uhd::noncopyable
+{
public:
typedef std::shared_ptr<b100_clock_ctrl> sptr;
@@ -81,12 +82,12 @@ public:
* \return the clock rate in Hz
*/
virtual double get_tx_clock_rate(void) = 0;
-
+
/*!
* Enable/disable the FPGA clock.
* \param enb true to enable
*/
-
+
virtual void enable_fpga_clock(bool enb) = 0;
/*!
@@ -100,17 +101,17 @@ public:
* \param enb true to enable
*/
virtual void enable_tx_dboard_clock(bool enb) = 0;
-
+
/*!
* Use the internal TCXO reference
*/
virtual void use_internal_ref(void) = 0;
-
+
/*!
* Use the external SMA reference
*/
virtual void use_external_ref(void) = 0;
-
+
/*!
* Use external if available, internal otherwise
*/
@@ -118,7 +119,6 @@ public:
//! Is the reference locked?
virtual bool get_locked(void) = 0;
-
};
#endif /* INCLUDED_B100_CLOCK_CTRL_HPP */