#[repr(transparent)]pub struct Flshb2cr0(pub u32);Expand description
Flash Control 0
Tuple Fields§
§0: u32Implementations§
Source§impl Flshb2cr0
impl Flshb2cr0
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 set_addrshift(&mut self, val: bool)
pub const fn set_addrshift(&mut self, val: bool)
AHB Address Shift Function control
Sourcepub const fn set_splitwren(&mut self, val: bool)
pub const fn set_splitwren(&mut self, val: bool)
AHB Write Access Split Function 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
Trait Implementations§
impl Copy for Flshb2cr0
impl Eq for Flshb2cr0
impl StructuralPartialEq for Flshb2cr0
Auto Trait Implementations§
impl Freeze for Flshb2cr0
impl RefUnwindSafe for Flshb2cr0
impl Send for Flshb2cr0
impl Sync for Flshb2cr0
impl Unpin for Flshb2cr0
impl UnwindSafe for Flshb2cr0
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