Struct stm32_metapac::flash::regs::Crcdatar
#[repr(transparent)]pub struct Crcdatar(pub u32);
Expand description
FLASH CRC data register.
Tuple Fields§
§0: u32
Implementations§
§impl Crcdatar
impl Crcdatar
pub const fn crc_data(&self) -> u32
pub const fn crc_data(&self) -> u32
CRC result This bitfield contains the result of the last CRC calculation. The value is valid only when CRC calculation completed (CRCENDF is set in FLASH_ISR register). CRC_DATA is cleared when CRC_EN is cleared in FLASH_CR register (CRC disabled), or when CLEAN_CRC bit is set in FLASH_CRCCR register.
pub fn set_crc_data(&mut self, val: u32)
pub fn set_crc_data(&mut self, val: u32)
CRC result This bitfield contains the result of the last CRC calculation. The value is valid only when CRC calculation completed (CRCENDF is set in FLASH_ISR register). CRC_DATA is cleared when CRC_EN is cleared in FLASH_CR register (CRC disabled), or when CLEAN_CRC bit is set in FLASH_CRCCR register.
Trait Implementations§
impl Copy for Crcdatar
impl Eq for Crcdatar
impl StructuralPartialEq for Crcdatar
Auto Trait Implementations§
impl Freeze for Crcdatar
impl RefUnwindSafe for Crcdatar
impl Send for Crcdatar
impl Sync for Crcdatar
impl Unpin for Crcdatar
impl UnwindSafe for Crcdatar
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
)