pub struct Ad9361 {
pub sampling_frequency: u32,
pub rx_rf_bandwidth: u32,
pub tx_rf_bandwidth: u32,
pub rx_lo_frequency: u64,
pub tx_lo_frequency: u64,
pub rx_gain: f64,
pub rx_gain_mode: Ad9361GainMode,
pub tx_gain: f64,
}Expand description
AD9361 JSON schema.
This JSON schema corresponds to GET and PUT requests on /api/ad9361. It
contains the settings of the AD9361.
Fields§
§sampling_frequency: u32Sampling frequency in samples per second.
rx_rf_bandwidth: u32Receive RF bandwidth in Hz.
tx_rf_bandwidth: u32Transmit RF bandwidth in Hz.
rx_lo_frequency: u64Receive LO frequency in Hz.
tx_lo_frequency: u64Transmit LO frequency in Hz.
rx_gain: f64Receive gain in dB.
rx_gain_mode: Ad9361GainModeReceive AGC mode.
tx_gain: f64Transmit gain in dB.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Ad9361
impl<'de> Deserialize<'de> for Ad9361
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<Ad9361> for PatchAd9361
impl From<Ad9361> for PatchAd9361
source§fn from(val: Ad9361) -> PatchAd9361
fn from(val: Ad9361) -> PatchAd9361
Converts to this type from the input type.
source§impl PartialEq for Ad9361
impl PartialEq for Ad9361
impl StructuralPartialEq for Ad9361
Auto Trait Implementations§
impl RefUnwindSafe for Ad9361
impl Send for Ad9361
impl Sync for Ad9361
impl Unpin for Ad9361
impl UnwindSafe for Ad9361
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