#[repr(transparent)]pub struct Sum(pub u32);Expand description
CRC checksum register
Tuple Fields§
§0: u32Implementations§
Source§impl Sum
impl Sum
Sourcepub const fn crc_sum(&self) -> u32
pub const fn crc_sum(&self) -> u32
The most recent CRC sum can be read through this register with selected bit order and 1’s complement post-processes.
Sourcepub const fn set_crc_sum(&mut self, val: u32)
pub const fn set_crc_sum(&mut self, val: u32)
The most recent CRC sum can be read through this register with selected bit order and 1’s complement post-processes.
Trait Implementations§
impl Copy for Sum
impl Eq for Sum
impl StructuralPartialEq for Sum
Auto Trait Implementations§
impl Freeze for Sum
impl RefUnwindSafe for Sum
impl Send for Sum
impl Sync for Sum
impl Unpin for Sum
impl UnwindSafe for Sum
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