#[repr(C)]pub struct PamojaLoraTuning {
pub frequency_hz: u32,
pub link: PamojaLoraLink,
pub output_dbm: i8,
pub sync_word: u8,
}Expand description
What a simulated chip is tuned to.
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: PamojaLoraLinkThe spreading factor, bandwidth, coding rate, preamble, header, and CRC.
output_dbm: i8The output power the amplifier was asked for, in dBm.
sync_word: u8The sync word byte.
Trait Implementations§
Source§impl Clone for PamojaLoraTuning
impl Clone for PamojaLoraTuning
Source§fn clone(&self) -> PamojaLoraTuning
fn clone(&self) -> PamojaLoraTuning
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PamojaLoraTuning
Source§impl Debug for PamojaLoraTuning
impl Debug for PamojaLoraTuning
Source§impl Default for PamojaLoraTuning
impl Default for PamojaLoraTuning
Source§fn default() -> PamojaLoraTuning
fn default() -> PamojaLoraTuning
Returns the “default value” for a type. Read more
impl Eq for PamojaLoraTuning
Source§impl PartialEq for PamojaLoraTuning
impl PartialEq for PamojaLoraTuning
impl StructuralPartialEq for PamojaLoraTuning
Auto Trait Implementations§
impl Freeze for PamojaLoraTuning
impl RefUnwindSafe for PamojaLoraTuning
impl Send for PamojaLoraTuning
impl Sync for PamojaLoraTuning
impl Unpin for PamojaLoraTuning
impl UnsafeUnpin for PamojaLoraTuning
impl UnwindSafe for PamojaLoraTuning
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