Struct airspy::Airspy [] [src]

pub struct Airspy { /* fields omitted */ }

Store a reference to an opened Airspy device.

Methods

impl Airspy
[src]

Try to open the next available Airspy device.

Try to open a specific Airspy device by serial number.

Get available sample rates for this Airspy.

Set this Airspy's sample rate to a specific rate.

This rate must be in the available rates or an error is returned.

Start RX streaming from the Airspy.

The given channel will be sent Vec when Airspy callbacks occur. When the remote channel hangs up, libairspy is told to stop streaming and the Sender is dropped.

T is used to set the sample type and may be IQ, IQ, Real, Real or Real.

Check if the Airspy is currently streaming.

Write a register on the Si5351C

Read a register on the Si5351C

Write a register on the R820t

Read a register on the R820t

Write a GPIO port:pin to val, false to clear or true to set.

Read a GPIO port:pin

Set a GPIO port:pin direction.

Get a GPIO port:pin direction.

Get the Airspy board type.

Get the Airspy firmware version number.

Get the Airspy part ID and serial number.

Set Airspy centre frequency, freq 24000000 to 1750000000 (in Hz)

Set LNA gain, 0 to 15dB

Set mixer gain, 0 to 15dB

Set VGA gain, 0 to 15dB

Enable/disable LNA AGC

Enable/disable mixer AGC

Enable/disable RF bias voltage

Trait Implementations

impl Drop for Airspy
[src]

Ensure whenever the Airspy goes out of scope it is closed.

A method called when the value goes out of scope. Read more