Struct stm32_metapac::flash::regs::Crceaddr
#[repr(transparent)]pub struct Crceaddr(pub u32);
Expand description
FLASH CRC end address register.
Tuple Fields§
§0: u32
Implementations§
§impl Crceaddr
impl Crceaddr
pub const fn crc_end_addr(&self) -> u16
pub const fn crc_end_addr(&self) -> u16
CRC end address This register is used when CRC_BY_SECT is cleared. It must be programmed to the address of the Flash word starting the last burst of the CRC calculation. The burst size is defined in CRC_BURST of FLASH_CRCCR register. The least significant bits [5:0] of the address are set by hardware to 0 (minimum burst size= 64 bytes). The address is relative to the Flash bank.
pub fn set_crc_end_addr(&mut self, val: u16)
pub fn set_crc_end_addr(&mut self, val: u16)
CRC end address This register is used when CRC_BY_SECT is cleared. It must be programmed to the address of the Flash word starting the last burst of the CRC calculation. The burst size is defined in CRC_BURST of FLASH_CRCCR register. The least significant bits [5:0] of the address are set by hardware to 0 (minimum burst size= 64 bytes). The address is relative to the Flash bank.
Trait Implementations§
impl Copy for Crceaddr
impl Eq for Crceaddr
impl StructuralPartialEq for Crceaddr
Auto Trait Implementations§
impl Freeze for Crceaddr
impl RefUnwindSafe for Crceaddr
impl Send for Crceaddr
impl Sync for Crceaddr
impl Unpin for Crceaddr
impl UnwindSafe for Crceaddr
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
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)
clone_to_uninit
)