Struct Ccactrl
#[repr(transparent)]pub struct Ccactrl(pub u32);
Expand description
IEEE 802.15.4 clear channel assessment control
Tuple Fields§
§0: u32
Implementations§
§impl Ccactrl
impl Ccactrl
pub fn set_ccamode(&mut self, val: Ccamode)
pub fn set_ccamode(&mut self, val: Ccamode)
CCA mode of operation
pub const fn ccaedthres(&self) -> u8
pub const fn ccaedthres(&self) -> u8
CCA energy busy threshold. Used in all the CCA modes except CarrierMode.
pub 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.
pub const fn ccacorrthres(&self) -> u8
pub const fn ccacorrthres(&self) -> u8
CCA correlator busy threshold. Only relevant to CarrierMode, CarrierAndEdMode, and CarrierOrEdMode.
pub 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.
pub 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.
pub 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
)