pub struct Pluto {
pub context: Context,
pub phy: Device,
pub rxadc: Device,
pub txdac: Device,
}Fields§
§context: Context§phy: Device§rxadc: Device§txdac: DeviceImplementations§
source§impl Pluto
impl Pluto
pub fn connect(uri: &str) -> Self
pub fn set_lo_rx(&self, f_lo: i64) -> Result<(), ()>
pub fn set_lo_tx(&self, f_lo: i64) -> Result<(), ()>
pub fn set_rf_bandwidth(&self, f_b: i64, rxtx: bool) -> Result<(), ()>
pub fn set_hwgain(&self, g: f64, rxtx: bool) -> Result<(), ()>
pub fn set_sampling_freq(&self, fs: i64) -> Result<(), ()>
pub fn rx_i(&self) -> Channel
pub fn rx_q(&self) -> Channel
pub fn tx_i(&self) -> Channel
pub fn tx_q(&self) -> Channel
pub fn create_buffer_rx(&self, size: usize) -> Result<Buffer>
pub fn create_buffer_tx(&self, size: usize, cyclic: bool) -> Result<Buffer>
pub fn toggle_dds(&self, enable: bool)
pub fn list_dds(&self)
Auto Trait Implementations§
impl RefUnwindSafe for Pluto
impl Send for Pluto
impl !Sync for Pluto
impl Unpin for Pluto
impl UnwindSafe for Pluto
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more