diff options
Diffstat (limited to 'mpm/lib/i2c')
-rw-r--r-- | mpm/lib/i2c/i2c_regs_iface.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mpm/lib/i2c/i2c_regs_iface.cpp b/mpm/lib/i2c/i2c_regs_iface.cpp index 575e19d26..0fd5e716c 100644 --- a/mpm/lib/i2c/i2c_regs_iface.cpp +++ b/mpm/lib/i2c/i2c_regs_iface.cpp @@ -93,6 +93,18 @@ public: } } + uint32_t peek32(const uint64_t addr) + { + throw mpm::not_implemented_error( + "I2C regs iface does not implement 32 bit transactions."); + } + + void poke32(const uint64_t addr, const uint32_t data) + { + throw mpm::not_implemented_error( + "I2C regs iface does not implement 32 bit transactions."); + } + private: mpm::i2c::i2c_iface::sptr _i2c_iface; |