#[repr(transparent)]pub struct Flsha1cr(pub u32);Expand description
Flash Control 0.
Tuple Fields§
§0: u32Implementations§
Source§impl Flsha1cr
impl Flsha1cr
Sourcepub const fn set_flshsz(&mut self, val: u32)
pub const fn set_flshsz(&mut self, val: u32)
Flash Size in KB.
Sourcepub const fn addrshift(&self) -> bool
pub const fn addrshift(&self) -> bool
AHB Address Shift Function control. Raw bit values: false (0) = Disable: Disabled.; true (1) = Enable: Enabled.
Sourcepub const fn set_addrshift(&mut self, val: bool)
pub const fn set_addrshift(&mut self, val: bool)
AHB Address Shift Function control. Raw bit values: false (0) = Disable: Disabled.; true (1) = Enable: Enabled.
Sourcepub const fn splitwren(&self) -> bool
pub const fn splitwren(&self) -> bool
AHB Write Access Split Function Enable. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: Enable.
Sourcepub const fn set_splitwren(&mut self, val: bool)
pub const fn set_splitwren(&mut self, val: bool)
AHB Write Access Split Function Enable. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: Enable.
Sourcepub const fn splitrden(&self) -> bool
pub const fn splitrden(&self) -> bool
AHB Read Access Split Function Enable. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: Enable.
Sourcepub const fn set_splitrden(&mut self, val: bool)
pub const fn set_splitrden(&mut self, val: bool)
AHB Read Access Split Function Enable. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: Enable.
Trait Implementations§
impl Copy for Flsha1cr
impl Eq for Flsha1cr
impl StructuralPartialEq for Flsha1cr
Auto Trait Implementations§
impl Freeze for Flsha1cr
impl RefUnwindSafe for Flsha1cr
impl Send for Flsha1cr
impl Sync for Flsha1cr
impl Unpin for Flsha1cr
impl UnwindSafe for Flsha1cr
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