Struct Datawhiteiv
#[repr(transparent)]pub struct Datawhiteiv(pub u32);
Expand description
Data whitening initial value
Tuple Fields§
§0: u32
Implementations§
§impl Datawhiteiv
impl Datawhiteiv
pub const fn datawhiteiv(&self) -> u8
pub const fn datawhiteiv(&self) -> u8
Data whitening initial value. Bit 6 is hardwired to ‘1’, writing ‘0’ to it has no effect, and it will always be read back and used by the device as ‘1’.
pub fn set_datawhiteiv(&mut self, val: u8)
pub fn set_datawhiteiv(&mut self, val: u8)
Data whitening initial value. Bit 6 is hardwired to ‘1’, writing ‘0’ to it has no effect, and it will always be read back and used by the device as ‘1’.
Trait Implementations§
§impl Clone for Datawhiteiv
impl Clone for Datawhiteiv
§fn clone(&self) -> Datawhiteiv
fn clone(&self) -> Datawhiteiv
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Default for Datawhiteiv
impl Default for Datawhiteiv
§fn default() -> Datawhiteiv
fn default() -> Datawhiteiv
Returns the “default value” for a type. Read more
§impl PartialEq for Datawhiteiv
impl PartialEq for Datawhiteiv
impl Copy for Datawhiteiv
impl Eq for Datawhiteiv
impl StructuralPartialEq for Datawhiteiv
Auto Trait Implementations§
impl Freeze for Datawhiteiv
impl RefUnwindSafe for Datawhiteiv
impl Send for Datawhiteiv
impl Sync for Datawhiteiv
impl Unpin for Datawhiteiv
impl UnwindSafe for Datawhiteiv
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
)