diff options
Diffstat (limited to 'host')
-rw-r--r-- | host/docs/CMakeLists.txt | 4 | ||||
-rw-r--r-- | host/docs/Doxyfile.in | 2 | ||||
-rw-r--r-- | host/include/uhd/rfnoc/block_ctrl_base.hpp | 9 | ||||
-rw-r--r-- | host/include/uhd/rfnoc/radio_ctrl.hpp | 5 | ||||
-rw-r--r-- | host/include/uhd/rfnoc/source_block_ctrl_base.hpp | 3 | ||||
-rw-r--r-- | host/include/uhd/usrp/dboard_manager.hpp | 2 | ||||
-rw-r--r-- | host/include/uhd/version.hpp.in | 8 | ||||
-rw-r--r-- | host/lib/usrp/x300/x300_radio_ctrl_impl.cpp | 2 | ||||
-rw-r--r-- | host/lib/usrp/x300/x300_radio_ctrl_impl.hpp | 2 |
9 files changed, 27 insertions, 10 deletions
diff --git a/host/docs/CMakeLists.txt b/host/docs/CMakeLists.txt index a702f76c6..e60f6a35d 100644 --- a/host/docs/CMakeLists.txt +++ b/host/docs/CMakeLists.txt @@ -45,6 +45,10 @@ IF(ENABLE_MANUAL) SET(DOXYGEN_DEP_COMPONENT "manual") SET(DOXYGEN_FPGA_MANUAL_REFERENCE "<a href=\"http://files.ettus.com/manual/md_fpga.html\">Part III: FPGA Manual</a>") SET(DOXYGEN_STRIP_EXTRA "") + SET(DOXYGEN_EXCLUDE_DIRS "") + IF(NOT ENABLE_RFNOC) + SET(DOXYGEN_EXCLUDE_DIRS "${DOXYGEN_EXCLUDE_DIRS} ${CMAKE_SOURCE_DIR}/include/uhd/rfnoc") + ENDIF(NOT ENABLE_RFNOC) # Now, check if we have the FPGA sources as well. # If so, pull them in: IF(HAS_FPGA_SUBMODULE) diff --git a/host/docs/Doxyfile.in b/host/docs/Doxyfile.in index 1533f7edc..556f2f4b1 100644 --- a/host/docs/Doxyfile.in +++ b/host/docs/Doxyfile.in @@ -687,7 +687,7 @@ RECURSIVE = YES # run. EXCLUDE = @CMAKE_SOURCE_DIR@/include/uhd/transport/nirio \ - @CMAKE_SOURCE_DIR@/include/uhd/transport/nirio_zero_copy.hpp + @CMAKE_SOURCE_DIR@/include/uhd/transport/nirio_zero_copy.hpp @DOXYGEN_EXCLUDE_DIRS@ # The EXCLUDE_SYMLINKS tag can be used to select whether or not files or # directories that are symbolic links (a Unix file system feature) are excluded diff --git a/host/include/uhd/rfnoc/block_ctrl_base.hpp b/host/include/uhd/rfnoc/block_ctrl_base.hpp index 0212fc62c..fa3ceadc5 100644 --- a/host/include/uhd/rfnoc/block_ctrl_base.hpp +++ b/host/include/uhd/rfnoc/block_ctrl_base.hpp @@ -186,6 +186,7 @@ public: * * \param reg The settings register to write to. * \param data New value of this register. + * \param port Port on which to write * \throw uhd::key_error if \p reg is not a valid register name * */ @@ -194,6 +195,7 @@ public: /*! Allows reading one register on the settings bus (64-Bit version). * * \param reg The settings register to be read. + * \param port Port on which to read * * Returns the readback value. */ @@ -202,6 +204,7 @@ public: /*! Allows reading one register on the settings bus (32-Bit version). * * \param reg The settings register to be read. + * \param port Port on which to read * * Returns the readback value. */ @@ -214,6 +217,7 @@ public: * with sr_read64(). * * \param addr The user register address. + * \param port Port on which to read * \returns the readback value. */ boost::uint64_t user_reg_read64(const boost::uint32_t addr, const size_t port = 0); @@ -225,6 +229,7 @@ public: * defined in the block definition file. * * \param addr The user register address. + * \param port Port on which to read * \returns the readback value. * \throws uhd::key_error if \p reg is not a valid register name */ @@ -237,6 +242,7 @@ public: * with sr_read32(). * * \param addr The user register address. + * \param port Port on which to read * \returns the readback value. */ boost::uint32_t user_reg_read32(const boost::uint32_t addr, const size_t port = 0); @@ -270,6 +276,7 @@ public: /*! Sets a tick rate for the command timebase. * * \param the tick rate in Hz + * \port port Port */ void set_command_tick_rate(const double tick_rate, const size_t port = ANY_PORT); @@ -358,7 +365,7 @@ protected: **********************************************************************/ stream_sig_t _resolve_port_def(const blockdef::port_t &port_def) const; - //! Return the property tree path to a block argument \key on \p port + //! Return the property tree path to a block argument \p key on \p port uhd::fs_path get_arg_path(const std::string &key, size_t port = 0) const { return _root_path / "args" / port / key; }; diff --git a/host/include/uhd/rfnoc/radio_ctrl.hpp b/host/include/uhd/rfnoc/radio_ctrl.hpp index c29cc9b5a..1d7842051 100644 --- a/host/include/uhd/rfnoc/radio_ctrl.hpp +++ b/host/include/uhd/rfnoc/radio_ctrl.hpp @@ -91,11 +91,14 @@ public: */ virtual double get_tx_frequency(const size_t chan) /* const */ = 0; - /*! Tune the TX LO for channel \p. + /*! Tune the TX LO for channel \p chan. * * This function will attempt to tune as close as possible, and return a * coerced value of the actual tuning result. * + * \param freq Frequency in Hz + * \param chan Channel to tune + * * \return The actual LO frequency. */ virtual double set_tx_frequency(const double freq, size_t chan) = 0; diff --git a/host/include/uhd/rfnoc/source_block_ctrl_base.hpp b/host/include/uhd/rfnoc/source_block_ctrl_base.hpp index b3e908f72..02882307c 100644 --- a/host/include/uhd/rfnoc/source_block_ctrl_base.hpp +++ b/host/include/uhd/rfnoc/source_block_ctrl_base.hpp @@ -87,6 +87,9 @@ public: **********************************************************************/ /*! Configures data flowing from port \p output_block_port to go to \p next_address * + * \param next_address Address of the downstream block + * \param output_block_port Port for which this is valid + * * In the default implementation, this will write the value in \p next_address * to register SR_NEXT_DST of this blocks settings bus. The value will also * have bit 16 set to 1, since some blocks require this to respect this value. diff --git a/host/include/uhd/usrp/dboard_manager.hpp b/host/include/uhd/usrp/dboard_manager.hpp index 85fa65e81..e07b87ad8 100644 --- a/host/include/uhd/usrp/dboard_manager.hpp +++ b/host/include/uhd/usrp/dboard_manager.hpp @@ -124,7 +124,7 @@ public: * \param gdboard_id the id of the grand-dboard * \param iface the custom dboard interface * \param subtree the subtree to load with props - * \param bool defer initialising the daughterboards + * \param defer_db_init initialising the daughterboards (DEPRECATED) * \return an sptr to the new dboard manager */ static sptr make( diff --git a/host/include/uhd/version.hpp.in b/host/include/uhd/version.hpp.in index 905306c65..10f6a97ba 100644 --- a/host/include/uhd/version.hpp.in +++ b/host/include/uhd/version.hpp.in @@ -1,5 +1,5 @@ // -// Copyright 2010-2015 Ettus Research LLC +// Copyright 2010-2016 Ettus Research LLC // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -27,14 +27,14 @@ * The format is oldest API compatible release - ABI compat number. * The compatibility number allows pre-release ABI to be versioned. */ -#define UHD_VERSION_ABI_STRING "3.10.0" +#define UHD_VERSION_ABI_STRING "@TRIMMED_VERSION_MAJOR@.@TRIMMED_VERSION_API@.@TRIMMED_VERSION_ABI@" /*! * A macro to check UHD version at compile-time. * The value of this macro is MAJOR * 1000000 + API * 10000 + ABI * 100 + PATCH - * (e.g., for UHD 3.8.1 this is 30801). + * (e.g., for UHD 3.10.0.1 this is 3100001). */ -#cmakedefine UHD_VERSION @UHD_VERSION_ADDED@ +#define UHD_VERSION @UHD_VERSION_ADDED@ namespace uhd{ diff --git a/host/lib/usrp/x300/x300_radio_ctrl_impl.cpp b/host/lib/usrp/x300/x300_radio_ctrl_impl.cpp index 388b66929..e1b724db6 100644 --- a/host/lib/usrp/x300/x300_radio_ctrl_impl.cpp +++ b/host/lib/usrp/x300/x300_radio_ctrl_impl.cpp @@ -109,7 +109,7 @@ UHD_RFNOC_RADIO_BLOCK_CONSTRUCTOR(x300_radio_ctrl) // create front-end objects //////////////////////////////////////////////////////////////// for (size_t i = 0; i < _get_num_radios(); i++) { - _rx_fe_map[i].core = rx_frontend_core_3000::make(_get_ctrl(i), regs::sr_addr(x300_regs::RX_RE_BASE)); + _rx_fe_map[i].core = rx_frontend_core_3000::make(_get_ctrl(i), regs::sr_addr(x300_regs::RX_FE_BASE)); _rx_fe_map[i].core->set_adc_rate(_radio_clk_rate); _rx_fe_map[i].core->set_dc_offset(rx_frontend_core_3000::DEFAULT_DC_OFFSET_VALUE); _rx_fe_map[i].core->set_dc_offset_auto(rx_frontend_core_3000::DEFAULT_DC_OFFSET_ENABLE); diff --git a/host/lib/usrp/x300/x300_radio_ctrl_impl.hpp b/host/lib/usrp/x300/x300_radio_ctrl_impl.hpp index ff41096bd..770519eba 100644 --- a/host/lib/usrp/x300/x300_radio_ctrl_impl.hpp +++ b/host/lib/usrp/x300/x300_radio_ctrl_impl.hpp @@ -143,7 +143,7 @@ private: struct x300_regs { static const uint32_t TX_FE_BASE = 224; - static const uint32_t RX_RE_BASE = 232; + static const uint32_t RX_FE_BASE = 232; }; void _update_atr_leds(const std::string &rx_ant); |