aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/include
diff options
context:
space:
mode:
Diffstat (limited to 'mpm/include')
-rw-r--r--mpm/include/mpm/ad937x/ad937x_ctrl.hpp6
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 */