airspy 0.4.0

Rust bindings for libairspy

Crate airspy [] [src]

Structs

Airspy

Store a reference to an opened Airspy device.

FFIError

Error type for libairspy functions.

LibVersion

Hold major, minor and revision version numbers of libairspy C library.

PartID

Hold an Airspy's part ID and serial number.

Enums

GPIODirection

GPIO Direction

GPIOPin

Choice of GPIO pin

GPIOPort

Choice of GPIO port

Traits

SampleType

Trait for all allowable sample types

Functions

exit

Deinitialise the Airspy library. Call once at application end.

init

Initialise the Airspy library. Call once at application startup.

lib_version

Fetch the current version of libairspy C library.

Type Definitions

IQ

Represent IQ data, either f32 or i16

Real

Represent real-only data, either f32 or i16 or u16

Result

Result type for libairspy functions.