diff options
author | Ashish Chaudhari <ashish@ettus.com> | 2019-05-24 10:03:54 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2019-11-26 11:49:16 -0800 |
commit | de6dfccc835ad46b5f4362caae66a37651716ab2 (patch) | |
tree | 020abc5d7052da9aeddef47211d0bd9aaf664d07 /host/include | |
parent | cd36d9d2d3dfdecae42b715d734547e48347cf4a (diff) | |
download | uhd-de6dfccc835ad46b5f4362caae66a37651716ab2.tar.gz uhd-de6dfccc835ad46b5f4362caae66a37651716ab2.tar.bz2 uhd-de6dfccc835ad46b5f4362caae66a37651716ab2.zip |
rfnoc: Add block_poke support to reg_iface async msg
The async message callback now has a vector of data words instead
of a single one
Diffstat (limited to 'host/include')
-rw-r--r-- | host/include/uhd/rfnoc/register_iface.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/host/include/uhd/rfnoc/register_iface.hpp b/host/include/uhd/rfnoc/register_iface.hpp index 7be21affd..729aedbe6 100644 --- a/host/include/uhd/rfnoc/register_iface.hpp +++ b/host/include/uhd/rfnoc/register_iface.hpp @@ -38,7 +38,8 @@ public: * modelled as a simple register write (key-value pair with addr/data) that * is initiated by the FPGA. */ - using async_msg_callback_t = std::function<void(uint32_t addr, uint32_t data)>; + using async_msg_callback_t = + std::function<void(uint32_t addr, const std::vector<uint32_t>& data)>; /*! Write a 32-bit register implemented in the NoC block. * |