Struct stm32_metapac::icache::regs::Crr
#[repr(transparent)]pub struct Crr(pub u32);
Expand description
ICACHE region configuration register.
Tuple Fields§
§0: u32
Implementations§
§impl Crr
impl Crr
pub fn set_baseaddr(&mut self, val: u8)
pub fn set_baseaddr(&mut self, val: u8)
base address for region.
pub fn set_remapaddr(&mut self, val: u16)
pub fn set_remapaddr(&mut self, val: u16)
remapped address for region.
pub fn set_mstsel(&mut self, val: Mstsel)
pub fn set_mstsel(&mut self, val: Mstsel)
AHB cache master selection for region.
pub fn set_hburst(&mut self, val: Hburst)
pub fn set_hburst(&mut self, val: Hburst)
output burst type for region.
Trait Implementations§
impl Copy for Crr
impl Eq for Crr
impl StructuralPartialEq for Crr
Auto Trait Implementations§
impl Freeze for Crr
impl RefUnwindSafe for Crr
impl Send for Crr
impl Sync for Crr
impl Unpin for Crr
impl UnwindSafe for Crr
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)