diff options
author | Josh Blum <josh@joshknows.com> | 2012-11-08 18:46:24 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2012-11-21 13:52:10 -0800 |
commit | 1a920bce8160ad3389c8ba7940cff7f07317f7cf (patch) | |
tree | 8a6f8d183ba01c66f76702fd623ea43096f20f1c /host/include | |
parent | 71f0b7ea5ee58cf797b29fee4e0940f3dbde3110 (diff) | |
download | uhd-1a920bce8160ad3389c8ba7940cff7f07317f7cf.tar.gz uhd-1a920bce8160ad3389c8ba7940cff7f07317f7cf.tar.bz2 uhd-1a920bce8160ad3389c8ba7940cff7f07317f7cf.zip |
uhd: added args member to tune_request object
Diffstat (limited to 'host/include')
-rw-r--r-- | host/include/uhd/types/tune_request.hpp | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/host/include/uhd/types/tune_request.hpp b/host/include/uhd/types/tune_request.hpp index 9c498bfe9..dd6123a9f 100644 --- a/host/include/uhd/types/tune_request.hpp +++ b/host/include/uhd/types/tune_request.hpp @@ -1,5 +1,5 @@ // -// Copyright 2010 Ettus Research LLC +// Copyright 2010-2012 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 @@ -19,6 +19,7 @@ #define INCLUDED_UHD_TYPES_TUNE_REQUEST_HPP #include <uhd/config.hpp> +#include <uhd/types/device_addr.hpp> namespace uhd{ @@ -88,6 +89,18 @@ namespace uhd{ */ double dsp_freq; + /*! + * The args parameter is used to pass arbitrary key/value pairs. + * Possible keys used by args (depends on implementation): + * + * - mode_n: Allows the user to tell the daughterboard tune code + * to choose between an integer N diviver or fractional N divider. + * Default is fractional N on boards that support fractional N tuning. + * Fractional N provides greater tuning acuracy at the expense of spurs. + * Possible options for this key: "integer" or "fractional". + */ + device_addr_t args; + }; } //namespace uhd |