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.