Struct stm32_metapac::flash::regs::Acr
#[repr(transparent)]pub struct Acr(pub u32);
Expand description
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_prften(&mut self, val: bool)
pub fn set_prften(&mut self, val: bool)
Prefetch enable
pub fn set_dbg_swen(&mut self, val: bool)
pub fn set_dbg_swen(&mut self, val: bool)
Debug access software enable
Trait Implementations§
impl Copy for Acr
impl Eq for Acr
impl StructuralEq for Acr
impl StructuralPartialEq for Acr
Auto Trait Implementations§
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