pub struct SpuriousReception {
pub automatic_if: bool,
pub if_freq_2: Option<u8>,
pub offset_hz: u32,
}Expand description
The receive settings of erratum 2.3, receiver spurious reception of a LoRa signal.
Fields§
§automatic_if: boolWhether AutomaticIFOn, bit 7 of RegDetectOptimize, stays on.
if_freq_2: Option<u8>The value for RegIfFreq2 at 0x2F, with RegIfFreq1 at 0x30 cleared, when the IF is set by hand.
offset_hz: u32How far above the carrier to receive, in hertz.
Trait Implementations§
Source§impl Clone for SpuriousReception
impl Clone for SpuriousReception
Source§fn clone(&self) -> SpuriousReception
fn clone(&self) -> SpuriousReception
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 SpuriousReception
Source§impl Debug for SpuriousReception
impl Debug for SpuriousReception
impl Eq for SpuriousReception
Source§impl Hash for SpuriousReception
impl Hash for SpuriousReception
Source§impl PartialEq for SpuriousReception
impl PartialEq for SpuriousReception
Source§fn eq(&self, other: &SpuriousReception) -> bool
fn eq(&self, other: &SpuriousReception) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SpuriousReception
Auto Trait Implementations§
impl Freeze for SpuriousReception
impl RefUnwindSafe for SpuriousReception
impl Send for SpuriousReception
impl Sync for SpuriousReception
impl Unpin for SpuriousReception
impl UnsafeUnpin for SpuriousReception
impl UnwindSafe for SpuriousReception
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