Adds ifc_name() to libusrp2 and gr-usrp2
[debian/gnuradio] / gr-usrp2 / src / usrp2_base.h
index ed2a28fe147653d7b7c5066e866365cb4c74a6d7..8857cc9e1ad668b66a714a9e435aaf34ac9ad960 100644 (file)
@@ -53,6 +53,11 @@ public:
    */
   std::string mac_addr() const;
   
+  /*!
+   * \brief Get interface name used to communicat with USRP2
+   */
+  std::string ifc_name() const;
+
   /*!
    * \brief Get USRP2 master clock rate
    */
@@ -68,6 +73,11 @@ public:
    */
   std::vector<uint32_t> peek32(uint32_t addr, uint32_t words);
 
+  /*!
+   * \brief Write memory to Wishbone bus as words
+   */
+  bool poke32(uint32_t addr, const std::vector<uint32_t> &data);
+
   /*!
    * \brief Called by scheduler when starting flowgraph
    */