#[repr(transparent)]pub struct LpcacCtrl(pub u32);Expand description
LPCAC Control
Tuple Fields§
§0: u32Implementations§
Source§impl LpcacCtrl
impl LpcacCtrl
Sourcepub const fn set_dis_lpcac(&mut self, val: DisLpcac)
pub const fn set_dis_lpcac(&mut self, val: DisLpcac)
Disables/enables the cache function.
Sourcepub const fn set_clr_lpcac(&mut self, val: ClrLpcac)
pub const fn set_clr_lpcac(&mut self, val: ClrLpcac)
Clears the cache function.
Sourcepub const fn frc_no_alloc(&self) -> FrcNoAlloc
pub const fn frc_no_alloc(&self) -> FrcNoAlloc
Forces no allocation.
Sourcepub const fn set_frc_no_alloc(&mut self, val: FrcNoAlloc)
pub const fn set_frc_no_alloc(&mut self, val: FrcNoAlloc)
Forces no allocation.
Sourcepub const fn dis_lpcac_wtbf(&self) -> bool
pub const fn dis_lpcac_wtbf(&self) -> bool
Disable LPCAC Write Through Buffer.
Sourcepub const fn set_dis_lpcac_wtbf(&mut self, val: bool)
pub const fn set_dis_lpcac_wtbf(&mut self, val: bool)
Disable LPCAC Write Through Buffer.
Sourcepub const fn lim_lpcac_wtbf(&self) -> bool
pub const fn lim_lpcac_wtbf(&self) -> bool
Limit LPCAC Write Through Buffer.
Sourcepub const fn set_lim_lpcac_wtbf(&mut self, val: bool)
pub const fn set_lim_lpcac_wtbf(&mut self, val: bool)
Limit LPCAC Write Through Buffer.
Sourcepub const fn set_lpcac_xom(&mut self, val: bool)
pub const fn set_lpcac_xom(&mut self, val: bool)
LPCAC XOM(eXecute-Only-Memory) attribute control
Sourcepub const fn lpcac_mem_req(&self) -> bool
pub const fn lpcac_mem_req(&self) -> bool
Request LPCAC memories.
Sourcepub const fn set_lpcac_mem_req(&mut self, val: bool)
pub const fn set_lpcac_mem_req(&mut self, val: bool)
Request LPCAC memories.
Trait Implementations§
impl Copy for LpcacCtrl
impl Eq for LpcacCtrl
impl StructuralPartialEq for LpcacCtrl
Auto Trait Implementations§
impl Freeze for LpcacCtrl
impl RefUnwindSafe for LpcacCtrl
impl Send for LpcacCtrl
impl Sync for LpcacCtrl
impl Unpin for LpcacCtrl
impl UnwindSafe for LpcacCtrl
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