pub enum PLENR {
_8BIT,
_16BIT,
_32BITZERO,
LONGRANGE,
}
Expand description
Possible values of the field PLEN
Variants
_8BIT
8-bit preamble
_16BIT
16-bit preamble
_32BITZERO
32-bit zero preamble - used for IEEE 802.15.4
LONGRANGE
Preamble - used for BLE long range
Implementations
sourceimpl PLENR
impl PLENR
sourcepub fn is_32bit_zero(&self) -> bool
pub fn is_32bit_zero(&self) -> bool
Checks if the value of the field is _32BITZERO
sourcepub fn is_long_range(&self) -> bool
pub fn is_long_range(&self) -> bool
Checks if the value of the field is LONGRANGE
Trait Implementations
impl Copy for PLENR
impl StructuralPartialEq for PLENR
Auto Trait Implementations
impl RefUnwindSafe for PLENR
impl Send for PLENR
impl Sync for PLENR
impl Unpin for PLENR
impl UnwindSafe for PLENR
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more