UHD 003.000.001
|
Functions | |
UHD_API boost::uint32_t | calc_rx_mux_word (subdev_conn_t subdev_conn) |
UHD_API boost::uint32_t | calc_tx_mux_word (subdev_conn_t subdev_conn) |
UHD_API boost::uint32_t | calc_cordic_word_and_update (double &freq, double codec_rate) |
UHD_API boost::uint32_t | calc_cic_filter_word (unsigned rate) |
UHD_API boost::uint32_t | calc_iq_scale_word (boost::int16_t i, boost::int16_t q) |
UHD_API boost::uint32_t | calc_iq_scale_word (unsigned rate) |
UHD_API boost::uint32_t | calc_stream_cmd_word (const stream_cmd_t &stream_cmd) |
UHD_API boost::uint32_t uhd::usrp::dsp_type1::calc_cic_filter_word | ( | unsigned | rate | ) |
Calculate the CIC filter word from the rate. Check if requested decim/interp rate is: multiple of 4, enable two halfband filters multiple of 2, enable one halfband filter handle remainder in CIC
rate | the requested rate in Sps |
UHD_API boost::uint32_t uhd::usrp::dsp_type1::calc_cordic_word_and_update | ( | double & | freq, |
double | codec_rate | ||
) |
Calculate the cordic word from the frequency and clock rate. The frequency will be set to the actual (possible) frequency.
freq | the requested frequency in Hz |
codec_rate | the dsp codec rate in Hz |
UHD_API boost::uint32_t uhd::usrp::dsp_type1::calc_iq_scale_word | ( | boost::int16_t | i, |
boost::int16_t | q | ||
) |
Calculate the IQ scale factor word from I and Q components.
i | the I component of the scalar |
q | the Q component of the scalar |
UHD_API boost::uint32_t uhd::usrp::dsp_type1::calc_iq_scale_word | ( | unsigned | rate | ) |
Calculate the IQ scale factor word from the rate.
rate | the requested rate in Sps |
UHD_API boost::uint32_t uhd::usrp::dsp_type1::calc_rx_mux_word | ( | subdev_conn_t | subdev_conn | ) |
Calculate the rx mux word from properties.
subdev_conn | the subdev connection type |
UHD_API boost::uint32_t uhd::usrp::dsp_type1::calc_stream_cmd_word | ( | const stream_cmd_t & | stream_cmd | ) |
Calculate the stream command word from the stream command struct.
stream_cmd | the requested stream command with mode, flags, timestamp |
UHD_API boost::uint32_t uhd::usrp::dsp_type1::calc_tx_mux_word | ( | subdev_conn_t | subdev_conn | ) |
Calculate the tx mux word from properties.
subdev_conn | the subdev connection type |