Struct Rssisample
#[repr(transparent)]pub struct Rssisample(pub u32);
Expand description
RSSI sample
Tuple Fields§
§0: u32
Implementations§
§impl Rssisample
impl Rssisample
pub const fn rssisample(&self) -> u8
pub const fn rssisample(&self) -> u8
RSSI sample result. The value of this register is read as a positive value while the actual received signal strength is a negative value. Actual received signal strength is therefore as follows: received signal strength = -A dBm.
pub fn set_rssisample(&mut self, val: u8)
pub fn set_rssisample(&mut self, val: u8)
RSSI sample result. The value of this register is read as a positive value while the actual received signal strength is a negative value. Actual received signal strength is therefore as follows: received signal strength = -A dBm.
Trait Implementations§
§impl Clone for Rssisample
impl Clone for Rssisample
§fn clone(&self) -> Rssisample
fn clone(&self) -> Rssisample
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Default for Rssisample
impl Default for Rssisample
§fn default() -> Rssisample
fn default() -> Rssisample
Returns the “default value” for a type. Read more
§impl PartialEq for Rssisample
impl PartialEq for Rssisample
impl Copy for Rssisample
impl Eq for Rssisample
impl StructuralPartialEq for Rssisample
Auto Trait Implementations§
impl Freeze for Rssisample
impl RefUnwindSafe for Rssisample
impl Send for Rssisample
impl Sync for Rssisample
impl Unpin for Rssisample
impl UnwindSafe for Rssisample
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)