Struct stm32_metapac::flash::regs::Acr
#[repr(transparent)]pub struct Acr(pub u32);
Expand description
Flash access control register
Tuple Fields§
§0: u32
Implementations§
§impl Acr
impl Acr
pub fn set_latency(&mut self, val: Latency)
pub fn set_latency(&mut self, val: Latency)
Latency
pub fn set_hlfcya(&mut self, val: bool)
pub fn set_hlfcya(&mut self, val: bool)
Flash half cycle access enable
pub fn set_prftbe(&mut self, val: bool)
pub fn set_prftbe(&mut self, val: bool)
Prefetch buffer enable
pub fn set_prftbs(&mut self, val: bool)
pub fn set_prftbs(&mut self, val: bool)
Prefetch buffer status
Trait Implementations§
impl Copy for Acr
impl Eq for Acr
impl StructuralPartialEq for Acr
Auto Trait Implementations§
impl Freeze for Acr
impl RefUnwindSafe for Acr
impl Send for Acr
impl Sync for Acr
impl Unpin for Acr
impl UnwindSafe for Acr
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