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: bool)
pub fn set_latency(&mut self, val: bool)
Latency
pub fn set_prften(&mut self, val: bool)
pub fn set_prften(&mut self, val: bool)
Prefetch enable
pub fn set_sleep_pd(&mut self, val: bool)
pub fn set_sleep_pd(&mut self, val: bool)
Flash mode during Sleep
pub fn set_run_pd(&mut self, val: bool)
pub fn set_run_pd(&mut self, val: bool)
Flash mode during Run
pub fn set_disab_buf(&mut self, val: bool)
pub fn set_disab_buf(&mut self, val: bool)
Disable Buffer
pub fn set_pre_read(&mut self, val: bool)
pub fn set_pre_read(&mut self, val: bool)
Pre-read data address
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
)