Struct Acr
#[repr(transparent)]pub struct Acr(pub u32);Expand description
Access control register
Tuple Fields§
§0: u32Implementations§
§impl Acr
impl Acr
pub const fn set_latency(&mut self, val: Latency)
pub const fn set_latency(&mut self, val: Latency)
Latency
pub const fn set_prften(&mut self, val: bool)
pub const fn set_prften(&mut self, val: bool)
Prefetch enable
pub const fn set_run_pd(&mut self, val: bool)
pub const fn set_run_pd(&mut self, val: bool)
Flash Power-down mode during Low-power run mode
pub const fn set_sleep_pd(&mut self, val: bool)
pub const fn set_sleep_pd(&mut self, val: bool)
Flash Power-down mode during Low-power sleep mode
pub const fn set_dbg_swen(&mut self, val: bool)
pub const fn set_dbg_swen(&mut self, val: bool)
Debug software enable
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