Struct efm32gg995_pac::CBP
source · [−]pub struct CBP { /* private fields */ }
Expand description
Cache and branch predictor maintenance operations
Implementations
sourceimpl CBP
impl CBP
sourcepub unsafe fn dcisw(&mut self, set: u16, way: u16)
pub unsafe fn dcisw(&mut self, set: u16, way: u16)
D-cache invalidate by set-way
set
is masked to be between 0 and 3, and way
between 0 and 511.
sourcepub fn dccsw(&mut self, set: u16, way: u16)
pub fn dccsw(&mut self, set: u16, way: u16)
D-cache clean by set-way
set
is masked to be between 0 and 3, and way
between 0 and 511.
sourceimpl CBP
impl CBP
sourcepub const PTR: *const RegisterBlock = {0xe000ef50 as *const cortex_m::peripheral::cbp::RegisterBlock}
pub const PTR: *const RegisterBlock = {0xe000ef50 as *const cortex_m::peripheral::cbp::RegisterBlock}
Pointer to the register block
sourcepub const fn ptr() -> *const RegisterBlock
👎 Deprecated since 0.7.5: Use the associated constant PTR
instead
pub const fn ptr() -> *const RegisterBlock
Use the associated constant PTR
instead
Returns a pointer to the register block
Trait Implementations
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more