Struct Optsr2
#[repr(transparent)]pub struct Optsr2(pub u32);Expand description
FLASH option status register 2.
Tuple Fields§
§0: u32Implementations§
§impl Optsr2
impl Optsr2
TCM RAM sharing (ITCM / AXI system RAM split).
TCM RAM sharing (ITCM / AXI system RAM split).
pub const fn cpufreq_boost(&self) -> bool
pub const fn cpufreq_boost(&self) -> bool
CPU frequency boost (when set, ECC on ITCM and DTCM is not used).
pub const fn set_cpufreq_boost(&mut self, val: bool)
pub const fn set_cpufreq_boost(&mut self, val: bool)
CPU frequency boost (when set, ECC on ITCM and DTCM is not used).
Trait Implementations§
impl Copy for Optsr2
impl Eq for Optsr2
impl StructuralPartialEq for Optsr2
Auto Trait Implementations§
impl Freeze for Optsr2
impl RefUnwindSafe for Optsr2
impl Send for Optsr2
impl Sync for Optsr2
impl Unpin for Optsr2
impl UnsafeUnpin for Optsr2
impl UnwindSafe for Optsr2
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