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.
Trait Implementations§
impl Copy for Obw2srp
impl Eq for Obw2srp
impl StructuralPartialEq for Obw2srp
Auto Trait Implementations§
impl Freeze for Obw2srp
impl RefUnwindSafe for Obw2srp
impl Send for Obw2srp
impl Sync for Obw2srp
impl Unpin for Obw2srp
impl UnwindSafe for Obw2srp
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
)