#[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. 0 selects data writes; 1 selects seed writes, as defined by CTRL[WAS] and the DATA function. The DATA[HL]/DATA[LL] byte-level prose conflicts with these definitions in both N reference manuals. 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. 0 selects data writes; 1 selects seed writes, as defined by CTRL[WAS] and the DATA function. The DATA[HL]/DATA[LL] byte-level prose conflicts with these definitions in both N reference manuals. 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.