Struct cortex_m::peripheral::CBP [−][src]
Cache and branch predictor maintenance operations
Implementations
impl CBP
[src]
pub fn iciallu(&mut self)
[src]
I-cache invalidate all to PoU
pub fn icimvau(&mut self, mva: u32)
[src]
I-cache invalidate by MVA to PoU
pub unsafe fn dcimvac(&mut self, mva: u32)
[src]
D-cache invalidate by MVA to PoC
pub unsafe fn dcisw(&mut self, set: u16, way: u16)
[src]
D-cache invalidate by set-way
set
is masked to be between 0 and 3, and way
between 0 and 511.
pub fn dccmvau(&mut self, mva: u32)
[src]
D-cache clean by MVA to PoU
pub fn dccmvac(&mut self, mva: u32)
[src]
D-cache clean by MVA to PoC
pub fn dccsw(&mut self, set: u16, way: u16)
[src]
D-cache clean by set-way
set
is masked to be between 0 and 3, and way
between 0 and 511.
pub fn dccimvac(&mut self, mva: u32)
[src]
D-cache clean and invalidate by MVA to PoC
pub fn dccisw(&mut self, set: u16, way: u16)
[src]
D-cache clean and invalidate by set-way
set
is masked to be between 0 and 3, and way
between 0 and 511.
pub fn bpiall(&mut self)
[src]
Branch predictor invalidate all
impl CBP
[src]
pub const PTR: *const RegisterBlock
[src]
Pointer to the register block
pub const fn ptr() -> *const RegisterBlock
[src]
Returns a pointer to the register block (to be deprecated in 0.7)
Trait Implementations
impl Deref for CBP
[src]
type Target = RegisterBlock
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl Send for CBP
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,