#[repr(C)]pub struct PamojaSx127xSpuriousReception {
pub automatic_if: bool,
pub has_if_freq_2: bool,
pub if_freq_2: u8,
pub offset_hz: u32,
}Expand description
The receive settings of the SX127x spurious reception erratum.
Fields§
§automatic_if: boolWhether AutomaticIFOn, bit 7 of RegDetectOptimize, stays on.
has_if_freq_2: boolWhether RegIfFreq2 is set by hand, with RegIfFreq1 cleared.
if_freq_2: u8The RegIfFreq2 value, when has_if_freq_2 is set.
offset_hz: u32How far above the carrier to receive, in hertz.
Trait Implementations§
Source§impl Clone for PamojaSx127xSpuriousReception
impl Clone for PamojaSx127xSpuriousReception
Source§fn clone(&self) -> PamojaSx127xSpuriousReception
fn clone(&self) -> PamojaSx127xSpuriousReception
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 PamojaSx127xSpuriousReception
Source§impl Default for PamojaSx127xSpuriousReception
impl Default for PamojaSx127xSpuriousReception
Source§fn default() -> PamojaSx127xSpuriousReception
fn default() -> PamojaSx127xSpuriousReception
Returns the “default value” for a type. Read more
impl Eq for PamojaSx127xSpuriousReception
impl StructuralPartialEq for PamojaSx127xSpuriousReception
Auto Trait Implementations§
impl Freeze for PamojaSx127xSpuriousReception
impl RefUnwindSafe for PamojaSx127xSpuriousReception
impl Send for PamojaSx127xSpuriousReception
impl Sync for PamojaSx127xSpuriousReception
impl Unpin for PamojaSx127xSpuriousReception
impl UnsafeUnpin for PamojaSx127xSpuriousReception
impl UnwindSafe for PamojaSx127xSpuriousReception
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