#[repr(transparent)]pub struct Ctrl(pub u32);Expand description
Control.
Tuple Fields§
§0: u32Implementations§
Source§impl Ctrl
impl Ctrl
Sourcepub const fn tcrc(&self) -> bool
pub const fn tcrc(&self) -> bool
TCRC. Raw bit values: false (0) = B16: 16 bits.; true (1) = B32: 32 bits.
Sourcepub const fn set_tcrc(&mut self, val: bool)
pub const fn set_tcrc(&mut self, val: bool)
TCRC. Raw bit values: false (0) = B16: 16 bits.; true (1) = B32: 32 bits.
Sourcepub const fn was(&self) -> bool
pub const fn was(&self) -> bool
Write as Seed. Raw bit values: false (0) = Data: Data values.; true (1) = Seed: Seed values.
Sourcepub const fn set_was(&mut self, val: bool)
pub const fn set_was(&mut self, val: bool)
Write as Seed. Raw bit values: false (0) = Data: Data values.; true (1) = Seed: Seed values.
Sourcepub const fn fxor(&self) -> bool
pub const fn fxor(&self) -> bool
Complement Read of CRC Data Register. Raw bit values: false (0) = Noxor: Disables XOR on reading data.; true (1) = Invert: Inverts or complements the read value of the CRC Data.
Trait Implementations§
impl Copy for Ctrl
impl Eq for Ctrl
impl StructuralPartialEq for Ctrl
Auto Trait Implementations§
impl Freeze for Ctrl
impl RefUnwindSafe for Ctrl
impl Send for Ctrl
impl Sync for Ctrl
impl Unpin for Ctrl
impl UnwindSafe for Ctrl
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