Struct cortex_m::peripheral::CBP
source · 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.
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