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 PartialEq for Crcdatar
impl PartialEq for Crcdatar
impl Copy for Crcdatar
impl Eq for Crcdatar
impl StructuralEq for Crcdatar
impl StructuralPartialEq for Crcdatar
Auto Trait Implementationsยง
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