#[repr(u8)]pub enum CCAMODE_A {
ED_MODE = 0,
CARRIER_MODE = 1,
CARRIER_AND_ED_MODE = 2,
CARRIER_OR_ED_MODE = 3,
ED_MODE_TEST1 = 4,
}
Expand description
CCA mode of operation
Value on reset: 0
Variants§
ED_MODE = 0
0: Energy above threshold
CARRIER_MODE = 1
1: Carrier seen
CARRIER_AND_ED_MODE = 2
2: Energy above threshold AND carrier seen
CARRIER_OR_ED_MODE = 3
3: Energy above threshold OR carrier seen
ED_MODE_TEST1 = 4
4: Energy above threshold test mode that will abort when first ED measurement over threshold is seen. No averaging.
Trait Implementations§
impl Copy for CCAMODE_A
impl StructuralPartialEq for CCAMODE_A
Auto Trait Implementations§
impl Freeze for CCAMODE_A
impl RefUnwindSafe for CCAMODE_A
impl Send for CCAMODE_A
impl Sync for CCAMODE_A
impl Unpin for CCAMODE_A
impl UnwindSafe for CCAMODE_A
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
)