#[repr(transparent)]pub struct OtpCrcAddr(pub u32);Expand description
CRC address range register
Tuple Fields§
§0: u32Implementations§
Source§impl OtpCrcAddr
impl OtpCrcAddr
Sourcepub const fn crc_start_addr(&self) -> u16
pub const fn crc_start_addr(&self) -> u16
CRC starting fuse word address
Sourcepub const fn set_crc_start_addr(&mut self, val: u16)
pub const fn set_crc_start_addr(&mut self, val: u16)
CRC starting fuse word address
Sourcepub const fn crc_end_addr(&self) -> u16
pub const fn crc_end_addr(&self) -> u16
CRC ending fuse word address
Sourcepub const fn set_crc_end_addr(&mut self, val: u16)
pub const fn set_crc_end_addr(&mut self, val: u16)
CRC ending fuse word address
Sourcepub const fn crc_ref_addr(&self) -> u8
pub const fn crc_ref_addr(&self) -> u8
Specify which of the 8 CRC reference value to use for CRC calculation. When the CRC result for the fuse data from CRC_START_ADDR to CRC_AND_ADDR and this CRC reference value is 0, the CRC check passes.
Sourcepub const fn set_crc_ref_addr(&mut self, val: u8)
pub const fn set_crc_ref_addr(&mut self, val: u8)
Specify which of the 8 CRC reference value to use for CRC calculation. When the CRC result for the fuse data from CRC_START_ADDR to CRC_AND_ADDR and this CRC reference value is 0, the CRC check passes.
Trait Implementations§
Source§impl Clone for OtpCrcAddr
impl Clone for OtpCrcAddr
Source§fn clone(&self) -> OtpCrcAddr
fn clone(&self) -> OtpCrcAddr
Returns a duplicate 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 moreSource§impl Debug for OtpCrcAddr
impl Debug for OtpCrcAddr
Source§impl Default for OtpCrcAddr
impl Default for OtpCrcAddr
Source§fn default() -> OtpCrcAddr
fn default() -> OtpCrcAddr
Returns the “default value” for a type. Read more
Source§impl PartialEq for OtpCrcAddr
impl PartialEq for OtpCrcAddr
impl Copy for OtpCrcAddr
impl Eq for OtpCrcAddr
impl StructuralPartialEq for OtpCrcAddr
Auto Trait Implementations§
impl Freeze for OtpCrcAddr
impl RefUnwindSafe for OtpCrcAddr
impl Send for OtpCrcAddr
impl Sync for OtpCrcAddr
impl Unpin for OtpCrcAddr
impl UnwindSafe for OtpCrcAddr
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