pub trait PowerMeasurementInterface {
    // Required method
    fn sample_converter(&mut self, channel: Channel) -> Result<f32, Error>;

    // Provided method
    fn measure_power(&mut self, channel: Channel) -> Result<f32, Error> { ... }
}
Expand description

Provide an interface to measure RF input power in dBm.

Required Methods§

source

fn sample_converter(&mut self, channel: Channel) -> Result<f32, Error>

Provided Methods§

source

fn measure_power(&mut self, channel: Channel) -> Result<f32, Error>

Measure the power of an input channel in dBm.

Args:

  • channel - The pounder input channel to measure the power of.

Returns: Power in dBm after the digitally controlled attenuator before the amplifier.

Implementors§