GNU Radio 3.3.0 C++ API
|
#include <usrp2_impl.h>
Public Member Functions | |
impl (const std::string &ifc, props *p, size_t rx_bufsize) | |
~impl () | |
std::string | mac_addr () const |
std::string | interface_name () const |
bool | set_rx_antenna (int ant) |
bool | set_rx_gain (double gain) |
double | rx_gain_min () |
double | rx_gain_max () |
double | rx_gain_db_per_step () |
bool | set_rx_lo_offset (double frequency) |
bool | set_rx_center_freq (double frequency, tune_result *result) |
double | rx_freq_min () |
double | rx_freq_max () |
bool | set_rx_decim (int decimation_factor) |
int | rx_decim () |
bool | set_rx_scale_iq (int scale_i, int scale_q) |
bool | set_gpio_ddr (int bank, uint16_t value, uint16_t mask) |
bool | set_gpio_sels (int bank, std::string src) |
bool | enable_gpio_streaming (int bank, int enable) |
bool | write_gpio (int bank, uint16_t value, uint16_t mask) |
bool | read_gpio (int bank, uint16_t *value) |
bool | start_rx_streaming (unsigned int channel, unsigned int items_per_frame) |
bool | start_rx_streaming_at (unsigned int channel, unsigned int items_per_frame, unsigned int time) |
bool | sync_and_start_rx_streaming_at (unsigned int channel, unsigned int items_per_frame, unsigned int time) |
bool | rx_samples (unsigned int channel, rx_sample_handler *handler) |
bool | flush_rx_samples (unsigned int channel) |
bool | stop_rx_streaming (unsigned int channel) |
unsigned int | rx_overruns () const |
unsigned int | rx_missing () const |
bool | set_tx_antenna (int ant) |
bool | set_tx_gain (double gain) |
double | tx_gain_min () |
double | tx_gain_max () |
double | tx_gain_db_per_step () |
bool | set_tx_lo_offset (double frequency) |
bool | set_tx_center_freq (double frequency, tune_result *result) |
double | tx_freq_min () |
double | tx_freq_max () |
bool | set_tx_interp (int interpolation_factor) |
int | tx_interp () |
void | default_tx_scale_iq (int interpolation_factor, int *scale_i, int *scale_q) |
bool | set_tx_scale_iq (int scale_i, int scale_q) |
bool | tx_32fc (unsigned int channel, const std::complex< float > *samples, size_t nsamples, const tx_metadata *metadata) |
bool | tx_16sc (unsigned int channel, const std::complex< int16_t > *samples, size_t nsamples, const tx_metadata *metadata) |
bool | tx_raw (unsigned int channel, const uint32_t *items, size_t nitems, const tx_metadata *metadata) |
bool | config_mimo (int flags) |
bool | fpga_master_clock_freq (long *freq) |
bool | adc_rate (long *rate) |
bool | dac_rate (long *rate) |
bool | tx_daughterboard_id (int *dbid) |
bool | rx_daughterboard_id (int *dbid) |
bool | burn_mac_addr (const std::string &new_addr) |
bool | sync_to_pps () |
bool | sync_every_pps (bool enable) |
std::vector< uint32_t > | peek32 (uint32_t addr, uint32_t words) |
bool | poke32 (uint32_t addr, const std::vector< uint32_t > &data) |
void | bg_loop () |
usrp2::usrp2::impl::impl | ( | const std::string & | ifc, |
props * | p, | ||
size_t | rx_bufsize | ||
) |
usrp2::usrp2::impl::~impl | ( | ) |
bool usrp2::usrp2::impl::adc_rate | ( | long * | rate | ) |
void usrp2::usrp2::impl::bg_loop | ( | ) |
bool usrp2::usrp2::impl::burn_mac_addr | ( | const std::string & | new_addr | ) |
bool usrp2::usrp2::impl::config_mimo | ( | int | flags | ) |
bool usrp2::usrp2::impl::dac_rate | ( | long * | rate | ) |
void usrp2::usrp2::impl::default_tx_scale_iq | ( | int | interpolation_factor, |
int * | scale_i, | ||
int * | scale_q | ||
) |
bool usrp2::usrp2::impl::enable_gpio_streaming | ( | int | bank, |
int | enable | ||
) |
bool usrp2::usrp2::impl::flush_rx_samples | ( | unsigned int | channel | ) |
bool usrp2::usrp2::impl::fpga_master_clock_freq | ( | long * | freq | ) |
std::string usrp2::usrp2::impl::interface_name | ( | ) | const [inline] |
std::string usrp2::usrp2::impl::mac_addr | ( | ) | const [inline] |
std::vector<uint32_t> usrp2::usrp2::impl::peek32 | ( | uint32_t | addr, |
uint32_t | words | ||
) |
bool usrp2::usrp2::impl::poke32 | ( | uint32_t | addr, |
const std::vector< uint32_t > & | data | ||
) |
bool usrp2::usrp2::impl::rx_daughterboard_id | ( | int * | dbid | ) |
int usrp2::usrp2::impl::rx_decim | ( | ) | [inline] |
double usrp2::usrp2::impl::rx_freq_max | ( | ) | [inline] |
References usrp2::db_info::freq_max.
double usrp2::usrp2::impl::rx_freq_min | ( | ) | [inline] |
References usrp2::db_info::freq_min.
double usrp2::usrp2::impl::rx_gain_db_per_step | ( | ) | [inline] |
References usrp2::db_info::gain_step_size.
double usrp2::usrp2::impl::rx_gain_max | ( | ) | [inline] |
References usrp2::db_info::gain_max.
double usrp2::usrp2::impl::rx_gain_min | ( | ) | [inline] |
References usrp2::db_info::gain_min.
unsigned int usrp2::usrp2::impl::rx_missing | ( | ) | const [inline] |
unsigned int usrp2::usrp2::impl::rx_overruns | ( | ) | const [inline] |
bool usrp2::usrp2::impl::rx_samples | ( | unsigned int | channel, |
rx_sample_handler * | handler | ||
) |
bool usrp2::usrp2::impl::set_gpio_sels | ( | int | bank, |
std::string | src | ||
) |
bool usrp2::usrp2::impl::set_rx_antenna | ( | int | ant | ) |
bool usrp2::usrp2::impl::set_rx_center_freq | ( | double | frequency, |
tune_result * | result | ||
) |
bool usrp2::usrp2::impl::set_rx_decim | ( | int | decimation_factor | ) |
bool usrp2::usrp2::impl::set_rx_gain | ( | double | gain | ) |
bool usrp2::usrp2::impl::set_rx_lo_offset | ( | double | frequency | ) |
bool usrp2::usrp2::impl::set_rx_scale_iq | ( | int | scale_i, |
int | scale_q | ||
) |
bool usrp2::usrp2::impl::set_tx_antenna | ( | int | ant | ) |
bool usrp2::usrp2::impl::set_tx_center_freq | ( | double | frequency, |
tune_result * | result | ||
) |
bool usrp2::usrp2::impl::set_tx_gain | ( | double | gain | ) |
bool usrp2::usrp2::impl::set_tx_interp | ( | int | interpolation_factor | ) |
bool usrp2::usrp2::impl::set_tx_lo_offset | ( | double | frequency | ) |
bool usrp2::usrp2::impl::set_tx_scale_iq | ( | int | scale_i, |
int | scale_q | ||
) |
bool usrp2::usrp2::impl::start_rx_streaming | ( | unsigned int | channel, |
unsigned int | items_per_frame | ||
) |
bool usrp2::usrp2::impl::start_rx_streaming_at | ( | unsigned int | channel, |
unsigned int | items_per_frame, | ||
unsigned int | time | ||
) |
bool usrp2::usrp2::impl::stop_rx_streaming | ( | unsigned int | channel | ) |
bool usrp2::usrp2::impl::sync_and_start_rx_streaming_at | ( | unsigned int | channel, |
unsigned int | items_per_frame, | ||
unsigned int | time | ||
) |
bool usrp2::usrp2::impl::sync_to_pps | ( | ) |
bool usrp2::usrp2::impl::tx_16sc | ( | unsigned int | channel, |
const std::complex< int16_t > * | samples, | ||
size_t | nsamples, | ||
const tx_metadata * | metadata | ||
) |
bool usrp2::usrp2::impl::tx_32fc | ( | unsigned int | channel, |
const std::complex< float > * | samples, | ||
size_t | nsamples, | ||
const tx_metadata * | metadata | ||
) |
bool usrp2::usrp2::impl::tx_daughterboard_id | ( | int * | dbid | ) |
double usrp2::usrp2::impl::tx_freq_max | ( | ) | [inline] |
References usrp2::db_info::freq_max.
double usrp2::usrp2::impl::tx_freq_min | ( | ) | [inline] |
References usrp2::db_info::freq_min.
double usrp2::usrp2::impl::tx_gain_db_per_step | ( | ) | [inline] |
References usrp2::db_info::gain_step_size.
double usrp2::usrp2::impl::tx_gain_max | ( | ) | [inline] |
References usrp2::db_info::gain_max.
double usrp2::usrp2::impl::tx_gain_min | ( | ) | [inline] |
References usrp2::db_info::gain_min.
int usrp2::usrp2::impl::tx_interp | ( | ) | [inline] |
bool usrp2::usrp2::impl::tx_raw | ( | unsigned int | channel, |
const uint32_t * | items, | ||
size_t | nitems, | ||
const tx_metadata * | metadata | ||
) |