Struct stm32_metapac::flash::regs::Obw2srp
#[repr(transparent)]pub struct Obw2srp(pub u32);
Expand description
FLASH option byte word 2 status register programming.
Tuple Fieldsยง
ยง0: u32
Implementationsยง
ยงimpl Obw2srp
impl Obw2srp
ITCM AXI share programming Write to change corresponding bits in FLASH_OBW2SR register. Bit 2 should be kept to 0: ITCM_AXI_SHARE: = 000 or 011: ITCM 64 Kbytes ITCM_AXI_SHARE = 001: ITCM 128 Kbytes ITCM_AXI_SHARE = 010: ITCM 192 Kbytes.
ITCM AXI share programming Write to change corresponding bits in FLASH_OBW2SR register. Bit 2 should be kept to 0: ITCM_AXI_SHARE: = 000 or 011: ITCM 64 Kbytes ITCM_AXI_SHARE = 001: ITCM 128 Kbytes ITCM_AXI_SHARE = 010: ITCM 192 Kbytes.
DTCM AXI share programming Write to change corresponding bits in the FLASH_OBW2SR register. Bit 2 should be kept to 0: DTCM_AXI_SHARE = 000 or 011: DTCM 64 Kbytes DTCM_AXI_SHARE = 001: DTCM 128 Kbytes DTCM_AXI_SHARE = 010: DTCM 192 Kbytes.
DTCM AXI share programming Write to change corresponding bits in the FLASH_OBW2SR register. Bit 2 should be kept to 0: DTCM_AXI_SHARE = 000 or 011: DTCM 64 Kbytes DTCM_AXI_SHARE = 001: DTCM 128 Kbytes DTCM_AXI_SHARE = 010: DTCM 192 Kbytes.
pub const fn ecc_on_sram(&self) -> bool
pub const fn ecc_on_sram(&self) -> bool
ECC on SRAM programming Write to change corresponding bit in FLASH_OBW2SR register.
pub fn set_ecc_on_sram(&mut self, val: bool)
pub fn set_ecc_on_sram(&mut self, val: bool)
ECC on SRAM programming Write to change corresponding bit in FLASH_OBW2SR register.
pub const fn i2c_ni3c(&self) -> bool
pub const fn i2c_ni3c(&self) -> bool
I2C Not I3C Write to change corresponding bit in FLASH_OBW2SR register.
pub fn set_i2c_ni3c(&mut self, val: bool)
pub fn set_i2c_ni3c(&mut self, val: bool)
I2C Not I3C Write to change corresponding bit in FLASH_OBW2SR register.