Struct atsaml21e16b::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.
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