Changeset 9754
- Timestamp:
- 10/08/08 16:17:37
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
gnuradio/branches/developers/eb/cppdb-wip/usrp/host/lib/legacy/db_flexrf.cc
r9753 r9754 287 287 } 288 288 289 double 290 flexrf_base::freq_min() 291 { 292 return d_common->freq_min(); 293 } 294 295 double 296 flexrf_base::freq_max() 297 { 298 return d_common->freq_max(); 299 } 300 289 301 // ---------------------------------------------------------------- 290 302 … … 841 853 } 842 854 843 double844 db_flexrf_2400_tx::freq_min()845 {846 return d_common->freq_min();847 }848 849 double850 db_flexrf_2400_tx::freq_max()851 {852 return d_common->freq_max();853 }854 855 855 bool 856 856 db_flexrf_2400_tx::_compute_regs(double freq, int &retR, int &retcontrol, … … 898 898 } 899 899 900 double901 db_flexrf_2400_rx::freq_min()902 {903 return d_common->freq_min();904 }905 906 double907 db_flexrf_2400_rx::freq_max()908 {909 return d_common->freq_max();910 }911 912 900 bool 913 901 db_flexrf_2400_rx::_compute_regs(double freq, int &retR, int &retcontrol, … … 931 919 } 932 920 933 double934 db_flexrf_1200_tx::freq_min()935 {936 return d_common->freq_min();937 }938 939 double940 db_flexrf_1200_tx::freq_max()941 {942 return d_common->freq_max();943 }944 945 921 bool 946 922 db_flexrf_1200_tx::_compute_regs(double freq, int &retR, int &retcontrol, … … 988 964 } 989 965 990 double991 db_flexrf_1200_rx::freq_min()992 {993 return d_common->freq_min();994 }995 996 double997 db_flexrf_1200_rx::freq_max()998 {999 return d_common->freq_max();1000 }1001 1002 966 bool 1003 967 db_flexrf_1200_rx::_compute_regs(double freq, int &retR, int &retcontrol, … … 1022 986 } 1023 987 1024 double1025 db_flexrf_1800_tx::freq_min()1026 {1027 return d_common->freq_min();1028 }1029 1030 double1031 db_flexrf_1800_tx::freq_max()1032 {1033 return d_common->freq_max();1034 }1035 1036 988 bool 1037 989 db_flexrf_1800_tx::_compute_regs(double freq, int &retR, int &retcontrol, … … 1079 1031 } 1080 1032 1081 double1082 db_flexrf_1800_rx::freq_min()1083 {1084 return d_common->freq_min();1085 }1086 1087 double1088 db_flexrf_1800_rx::freq_max()1089 {1090 return d_common->freq_max();1091 }1092 1093 1033 bool 1094 1034 db_flexrf_1800_rx::_compute_regs(double freq, int &retR, int &retcontrol, … … 1113 1053 } 1114 1054 1115 double1116 db_flexrf_900_tx::freq_min()1117 {1118 return d_common->freq_min();1119 }1120 1121 double1122 db_flexrf_900_tx::freq_max()1123 {1124 return d_common->freq_max();1125 }1126 1127 1055 bool 1128 1056 db_flexrf_900_tx::_compute_regs(double freq, int &retR, int &retcontrol, … … 1168 1096 } 1169 1097 1170 double1171 db_flexrf_900_rx::freq_min()1172 {1173 return d_common->freq_min();1174 }1175 1176 double1177 db_flexrf_900_rx::freq_max()1178 {1179 return d_common->freq_max();1180 }1181 1182 1098 bool 1183 1099 db_flexrf_900_rx::_compute_regs(double freq, int &retR, int &retcontrol, … … 1201 1117 } 1202 1118 1203 double1204 db_flexrf_400_tx::freq_min()1205 {1206 return d_common->freq_min();1207 }1208 1209 double1210 db_flexrf_400_tx::freq_max()1211 {1212 return d_common->freq_max();1213 }1214 1215 1119 bool 1216 1120 db_flexrf_400_tx::_compute_regs(double freq, int &retR, int &retcontrol, … … 1259 1163 } 1260 1164 1261 double1262 db_flexrf_400_rx::freq_min()1263 {1264 return d_common->freq_min();1265 }1266 1267 double1268 db_flexrf_400_rx::freq_max()1269 {1270 return d_common->freq_max();1271 }1272 1273 1165 bool 1274 1166 db_flexrf_400_rx::_compute_regs(double freq, int &retR, int &retcontrol, gnuradio/branches/developers/eb/cppdb-wip/usrp/host/lib/legacy/db_flexrf.h
r9753 r9754 43 43 bool set_gain(float gain); 44 44 bool is_quadrature(); 45 double freq_min(); 46 double freq_max(); 45 47 46 48 protected: … … 222 224 bool _compute_regs(double freq, int &retR, int &retcontrol, 223 225 int &retN, double &retfreq); 224 double freq_min();225 double freq_max();226 226 }; 227 227 … … 237 237 bool i_and_q_swapped(); 238 238 239 double freq_min();240 double freq_max();241 239 bool _compute_regs(double freq, int &retR, int &retcontrol, 242 240 int &retN, double &retfreq); … … 254 252 bool _compute_regs(double freq, int &retR, int &retcontrol, 255 253 int &retN, double &retfreq); 256 double freq_min();257 double freq_max();258 254 }; 259 255 … … 269 265 bool i_and_q_swapped(); 270 266 271 double freq_min();272 double freq_max();273 267 bool _compute_regs(double freq, int &retR, int &retcontrol, 274 268 int &retN, double &retfreq); … … 286 280 bool _compute_regs(double freq, int &retR, int &retcontrol, 287 281 int &retN, double &retfreq); 288 double freq_min();289 double freq_max();290 282 }; 291 283 … … 301 293 bool i_and_q_swapped(); 302 294 303 double freq_min();304 double freq_max();305 295 bool _compute_regs(double freq, int &retR, int &retcontrol, 306 296 int &retN, double &retfreq); … … 318 308 bool _compute_regs(double freq, int &retR, int &retcontrol, 319 309 int &retN, double &retfreq); 320 double freq_min();321 double freq_max();322 310 }; 323 311 … … 333 321 bool i_and_q_swapped(); 334 322 335 double freq_min();336 double freq_max();337 323 bool _compute_regs(double freq, int &retR, int &retcontrol, 338 324 int &retN, double &retfreq); … … 351 337 bool _compute_regs(double freq, int &retR, int &retcontrol, 352 338 int &retN, double &retfreq); 353 double freq_min();354 double freq_max();355 339 }; 356 340 … … 366 350 bool i_and_q_swapped(); 367 351 368 double freq_min();369 double freq_max();370 352 bool _compute_regs(double freq, int &retR, int &retcontrol, 371 353 int &retN, double &retfreq);
