Enum cc1101::lowlevel::types::LengthConfig
source · pub enum LengthConfig {
FIXED = 0,
VARIABLE = 1,
INFINITE = 2,
}
Expand description
Packet length configuration.
Variants§
FIXED = 0
Fixed packet length mode. Length configured in PKTLEN register.
VARIABLE = 1
Variable packet length mode. Packet length configured by the first byte after sync word.
INFINITE = 2
Infinite packet length mode.
Implementations§
Trait Implementations§
source§impl Clone for LengthConfig
impl Clone for LengthConfig
source§fn clone(&self) -> LengthConfig
fn clone(&self) -> LengthConfig
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 moresource§impl Debug for LengthConfig
impl Debug for LengthConfig
source§impl PartialEq for LengthConfig
impl PartialEq for LengthConfig
source§fn eq(&self, other: &LengthConfig) -> bool
fn eq(&self, other: &LengthConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for LengthConfig
impl Eq for LengthConfig
impl StructuralPartialEq for LengthConfig
Auto Trait Implementations§
impl RefUnwindSafe for LengthConfig
impl Send for LengthConfig
impl Sync for LengthConfig
impl Unpin for LengthConfig
impl UnwindSafe for LengthConfig
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