From cf6619992ac0d9ed2d2c99ab17a98023ee162fef Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Tue, 25 Apr 2017 18:45:15 -0700 Subject: mpm: Added peek/poke interface to ad937x_ctrl --- mpm/include/mpm/ad937x/ad937x_ctrl.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'mpm/include') 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 */ -- cgit v1.2.3