#[repr(transparent)]pub struct Pcnf1(pub u32);
Expand description
Packet configuration 1.
Tuple Fields§
§0: u32
Implementations§
Source§impl Pcnf1
impl Pcnf1
Sourcepub fn set_maxlen(&mut self, val: u8)
pub fn set_maxlen(&mut self, val: u8)
Maximum length of packet payload in number of bytes.
Sourcepub const fn statlen(&self) -> u8
pub const fn statlen(&self) -> u8
Static length in number of bytes. Decision point: START task.
Sourcepub fn set_statlen(&mut self, val: u8)
pub fn set_statlen(&mut self, val: u8)
Static length in number of bytes. Decision point: START task.
Sourcepub const fn balen(&self) -> u8
pub const fn balen(&self) -> u8
Base address length in number of bytes. Decision point: START task.
Sourcepub fn set_balen(&mut self, val: u8)
pub fn set_balen(&mut self, val: u8)
Base address length in number of bytes. Decision point: START task.
Sourcepub const fn endian(&self) -> Endian
pub const fn endian(&self) -> Endian
On air endianness of packet length field. Decision point: START task.
Sourcepub fn set_endian(&mut self, val: Endian)
pub fn set_endian(&mut self, val: Endian)
On air endianness of packet length field. Decision point: START task.
Sourcepub fn set_whiteen(&mut self, val: bool)
pub fn set_whiteen(&mut self, val: bool)
Packet whitening enable.
Trait Implementations§
impl Copy for Pcnf1
impl Eq for Pcnf1
impl StructuralPartialEq for Pcnf1
Auto Trait Implementations§
impl Freeze for Pcnf1
impl RefUnwindSafe for Pcnf1
impl Send for Pcnf1
impl Sync for Pcnf1
impl Unpin for Pcnf1
impl UnwindSafe for Pcnf1
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
)