#[repr(transparent)]pub struct Crccnf(pub u32);
Expand description
CRC configuration
Tuple Fields§
§0: u32
Implementations§
Source§impl Crccnf
impl Crccnf
Sourcepub const fn len(&self) -> Len
pub const fn len(&self) -> Len
CRC length in number of bytes For MODE Ble_LR125Kbit and Ble_LR500Kbit, only LEN set to 3 is supported
Sourcepub fn set_len(&mut self, val: Len)
pub fn set_len(&mut self, val: Len)
CRC length in number of bytes For MODE Ble_LR125Kbit and Ble_LR500Kbit, only LEN set to 3 is supported
Sourcepub const fn skipaddr(&self) -> Skipaddr
pub const fn skipaddr(&self) -> Skipaddr
Include or exclude packet address field out of CRC calculation.
Sourcepub fn set_skipaddr(&mut self, val: Skipaddr)
pub fn set_skipaddr(&mut self, val: Skipaddr)
Include or exclude packet address field out of CRC calculation.
Trait Implementations§
impl Copy for Crccnf
impl Eq for Crccnf
impl StructuralPartialEq for Crccnf
Auto Trait Implementations§
impl Freeze for Crccnf
impl RefUnwindSafe for Crccnf
impl Send for Crccnf
impl Sync for Crccnf
impl Unpin for Crccnf
impl UnwindSafe for Crccnf
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
)