pub struct Gains {Show 16 fields
pub analog_min: u8,
pub analog_max: u8,
pub analog_low: u8,
pub analog_high: u8,
pub decimator_min: u8,
pub decimator_max: u8,
pub decimator_low: u8,
pub decimator_high: u8,
pub decimator_higher: u8,
pub channel_min: u8,
pub channel_max: u8,
pub channel_low: u8,
pub channel_high: u8,
pub device: u8,
pub high_power_max: u8,
pub duty_cycle: u8,
}Expand description
The gains a gain control is configured with.
Every value comes from the reference, which keeps one set for each kind of front end.
Fields§
§analog_min: u8The least analog gain it may use.
analog_max: u8The most.
analog_low: u8The level it stops reducing analog gain below.
analog_high: u8The level it starts reducing above.
decimator_min: u8The least the decimator may attenuate.
decimator_max: u8The most.
decimator_low: u8The level the decimator stops attenuating below.
decimator_high: u8The first level it attenuates above.
decimator_higher: u8The second, which it attenuates harder above.
channel_min: u8The least a channel may be attenuated.
channel_max: u8The most.
channel_low: u8The level a channel stops being attenuated below.
channel_high: u8The level it starts being attenuated above.
device: u8Which amplifier an SX1250 uses.
high_power_max: u8How far its high power amplifier is driven.
duty_cycle: u8The duty cycle it drives at.
Trait Implementations§
impl Copy for Gains
impl Eq for Gains
impl StructuralPartialEq for Gains
Auto Trait Implementations§
impl Freeze for Gains
impl RefUnwindSafe for Gains
impl Send for Gains
impl Sync for Gains
impl Unpin for Gains
impl UnsafeUnpin for Gains
impl UnwindSafe for Gains
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