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)
PRFTBE
pub fn set_prftbs(&mut self, val: bool)
pub fn set_prftbs(&mut self, val: bool)
PRFTBS
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
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
)