Struct stm32_metapac::flash::regs::Obw2sr
#[repr(transparent)]pub struct Obw2sr(pub u32);
Expand description
FLASH option byte word 2 status register.
Tuple Fields§
§0: u32
Implementations§
§impl Obw2sr
impl Obw2sr
ITCM SRAM configuration.
ITCM SRAM configuration.
DTCM SRAM configuration.
DTCM SRAM configuration.
pub const fn ecc_on_sram(&self) -> bool
pub const fn ecc_on_sram(&self) -> bool
ECC on SRAM.
pub fn set_ecc_on_sram(&mut self, val: bool)
pub fn set_ecc_on_sram(&mut self, val: bool)
ECC on SRAM.
pub fn set_i2c_ni3c(&mut self, val: bool)
pub fn set_i2c_ni3c(&mut self, val: bool)
I2C Not I3C.
Trait Implementations§
impl Copy for Obw2sr
impl Eq for Obw2sr
impl StructuralPartialEq for Obw2sr
Auto Trait Implementations§
impl Freeze for Obw2sr
impl RefUnwindSafe for Obw2sr
impl Send for Obw2sr
impl Sync for Obw2sr
impl Unpin for Obw2sr
impl UnwindSafe for Obw2sr
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
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)