UHD 003.001.001

include/uhd/usrp/subdev_props.hpp

Go to the documentation of this file.
00001 //
00002 // Copyright 2010-2011 Ettus Research LLC
00003 //
00004 // This program is free software: you can redistribute it and/or modify
00005 // it under the terms of the GNU General Public License as published by
00006 // the Free Software Foundation, either version 3 of the License, or
00007 // (at your option) any later version.
00008 //
00009 // This program is distributed in the hope that it will be useful,
00010 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00011 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012 // GNU General Public License for more details.
00013 //
00014 // You should have received a copy of the GNU General Public License
00015 // along with this program.  If not, see <http://www.gnu.org/licenses/>.
00016 //
00017 
00018 #ifndef INCLUDED_UHD_USRP_SUBDEV_PROPS_HPP
00019 #define INCLUDED_UHD_USRP_SUBDEV_PROPS_HPP
00020 
00021 #include <uhd/utils/props.hpp>
00022 
00023 namespace uhd{ namespace usrp{
00024 
00034     enum subdev_conn_t{
00035         SUBDEV_CONN_COMPLEX_IQ = 'C',
00036         SUBDEV_CONN_COMPLEX_QI = 'c',
00037         SUBDEV_CONN_REAL_I     = 'R',
00038         SUBDEV_CONN_REAL_Q     = 'r'
00039     };
00040 
00044     enum subdev_prop_t{
00045         SUBDEV_PROP_NAME,               //ro, std::string
00046         SUBDEV_PROP_OTHERS,             //ro, prop_names_t
00047         SUBDEV_PROP_SENSOR,             //ro, sensor_value_t
00048         SUBDEV_PROP_SENSOR_NAMES,       //ro, prop_names_t
00049         SUBDEV_PROP_GAIN,               //rw, double
00050         SUBDEV_PROP_GAIN_RANGE,         //ro, gain_range_t
00051         SUBDEV_PROP_GAIN_NAMES,         //ro, prop_names_t
00052         SUBDEV_PROP_FREQ,               //rw, double
00053         SUBDEV_PROP_FREQ_RANGE,         //ro, freq_range_t
00054         SUBDEV_PROP_ANTENNA,            //rw, std::string
00055         SUBDEV_PROP_ANTENNA_NAMES,      //ro, prop_names_t
00056         SUBDEV_PROP_CONNECTION,         //ro, subdev_conn_t
00057         SUBDEV_PROP_ENABLED,            //rw, bool
00058         SUBDEV_PROP_USE_LO_OFFSET,      //ro, bool
00059         SUBDEV_PROP_BANDWIDTH           //rw, double
00060     };
00061 
00062 }} //namespace
00063 
00064 #endif /* INCLUDED_UHD_USRP_SUBDEV_PROPS_HPP */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines