diff options
author | Julian Arnold <julian.arnold@ettus.com> | 2015-01-20 08:55:08 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2015-01-20 19:31:25 +0100 |
commit | 47562bbf143889197f942168173ae7eb99209f19 (patch) | |
tree | 84f1dcb58a7a880de4aa724a2a8199c4d6158936 /host/lib/usrp/common/ad9361_ctrl.hpp | |
parent | 28373cc1f7eddfb11748674316ffd4c52eeec3d9 (diff) | |
download | uhd-47562bbf143889197f942168173ae7eb99209f19.tar.gz uhd-47562bbf143889197f942168173ae7eb99209f19.tar.bz2 uhd-47562bbf143889197f942168173ae7eb99209f19.zip |
ad9361: Added relative temperature sensor
This allows to read a relative temperature from an AD9361 device.
Diffstat (limited to 'host/lib/usrp/common/ad9361_ctrl.hpp')
-rw-r--r-- | host/lib/usrp/common/ad9361_ctrl.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/host/lib/usrp/common/ad9361_ctrl.hpp b/host/lib/usrp/common/ad9361_ctrl.hpp index 16e1d23eb..7d44700fe 100644 --- a/host/lib/usrp/common/ad9361_ctrl.hpp +++ b/host/lib/usrp/common/ad9361_ctrl.hpp @@ -100,6 +100,9 @@ public: //! read internal RSSI sensor virtual sensor_value_t get_rssi(const std::string &which) = 0; + + //! read the internal temp sensor + virtual sensor_value_t get_temperature() = 0; }; }} |