pub struct CBP { /* private fields */ }
Expand description
Cache and branch predictor maintenance operations
Implementations§
source§impl 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.
source§impl 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
PTR
insteadReturns a pointer to the register block
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CBP
impl RefUnwindSafe for CBP
impl !Sync for CBP
impl Unpin for CBP
impl UnwindSafe for CBP
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