diff options
author | Martin Braun <martin.braun@ettus.com> | 2017-04-25 18:45:15 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-12-22 15:03:52 -0800 |
commit | cf6619992ac0d9ed2d2c99ab17a98023ee162fef (patch) | |
tree | 13f2bee9499017fe3138297846093d32ae2f4152 /mpm/include | |
parent | 151ba5fb06dfdb6fcc46ccfdabf5f1e064236981 (diff) | |
download | uhd-cf6619992ac0d9ed2d2c99ab17a98023ee162fef.tar.gz uhd-cf6619992ac0d9ed2d2c99ab17a98023ee162fef.tar.bz2 uhd-cf6619992ac0d9ed2d2c99ab17a98023ee162fef.zip |
mpm: Added peek/poke interface to ad937x_ctrl
Diffstat (limited to 'mpm/include')
-rw-r--r-- | mpm/include/mpm/ad937x/ad937x_ctrl.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mpm/include/mpm/ad937x/ad937x_ctrl.hpp b/mpm/include/mpm/ad937x/ad937x_ctrl.hpp index 4d47a631f..ee3b5d6f3 100644 --- a/mpm/include/mpm/ad937x/ad937x_ctrl.hpp +++ b/mpm/include/mpm/ad937x/ad937x_ctrl.hpp @@ -167,6 +167,12 @@ public: //! set step sizes for gain ctrl pins for one channel virtual void set_gain_pin_step_sizes(const std::string &which, double inc_step, double dec_step) = 0; + + //! Direct register read access + virtual uint8_t peek8(const uint32_t addr) = 0; + + //! Direct register write access + virtual void poke8(const uint32_t addr, const uint8_t val) = 0; }; }}; /* namespace mpm::chips */ |