#[repr(transparent)]pub struct Ccactrl(pub u32);
Expand description
IEEE 802.15.4 clear channel assessment control
Tuple Fields§
§0: u32
Implementations§
Source§impl Ccactrl
impl Ccactrl
Sourcepub fn set_ccamode(&mut self, val: Ccamode)
pub fn set_ccamode(&mut self, val: Ccamode)
CCA mode of operation
Sourcepub const fn ccaedthres(&self) -> u8
pub const fn ccaedthres(&self) -> u8
CCA energy busy threshold. Used in all the CCA modes except CarrierMode.
Sourcepub fn set_ccaedthres(&mut self, val: u8)
pub fn set_ccaedthres(&mut self, val: u8)
CCA energy busy threshold. Used in all the CCA modes except CarrierMode.
Sourcepub const fn ccacorrthres(&self) -> u8
pub const fn ccacorrthres(&self) -> u8
CCA correlator busy threshold. Only relevant to CarrierMode, CarrierAndEdMode and CarrierOrEdMode.
Sourcepub fn set_ccacorrthres(&mut self, val: u8)
pub fn set_ccacorrthres(&mut self, val: u8)
CCA correlator busy threshold. Only relevant to CarrierMode, CarrierAndEdMode and CarrierOrEdMode.
Sourcepub const fn ccacorrcnt(&self) -> u8
pub const fn ccacorrcnt(&self) -> u8
Limit for occurances above CCACORRTHRES. When not equal to zero the corrolator based signal detect is enabled.
Sourcepub fn set_ccacorrcnt(&mut self, val: u8)
pub fn set_ccacorrcnt(&mut self, val: u8)
Limit for occurances above CCACORRTHRES. When not equal to zero the corrolator based signal detect is enabled.
Trait Implementations§
impl Copy for Ccactrl
impl Eq for Ccactrl
impl StructuralPartialEq for Ccactrl
Auto Trait Implementations§
impl Freeze for Ccactrl
impl RefUnwindSafe for Ccactrl
impl Send for Ccactrl
impl Sync for Ccactrl
impl Unpin for Ccactrl
impl UnwindSafe for Ccactrl
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
)