pub struct Tuning {
pub frequency_hz: u32,
pub link: LinkSettings,
pub output_dbm: i8,
pub sync_word: SyncWord,
}Expand description
What a chip is tuned to: where it sends and listens, how, and how hard.
Fields§
§frequency_hz: u32The carrier frequency in hertz, as the chip’s synthesizer steps it: within a hertz of the one asked for on an SX126x, and within 61 Hz on an SX127x.
link: LinkSettingsThe spreading factor, bandwidth, coding rate, preamble, header, and CRC.
output_dbm: i8The output power the amplifier was asked for, in dBm.
sync_word: SyncWordThe sync word.
Trait Implementations§
impl Copy for Tuning
impl Eq for Tuning
impl StructuralPartialEq for Tuning
Auto Trait Implementations§
impl Freeze for Tuning
impl RefUnwindSafe for Tuning
impl Send for Tuning
impl Sync for Tuning
impl Unpin for Tuning
impl UnsafeUnpin for Tuning
impl UnwindSafe for Tuning
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