Struct aarch64defs::SctlrEl1
source · pub struct SctlrEl1(/* private fields */);
Expand description
aarch64 SCTRL_EL1
Implementations§
source§impl SctlrEl1
impl SctlrEl1
sourcepub const fn with_cp15ben(self, value: bool) -> Self
pub const fn with_cp15ben(self, value: bool) -> Self
Bits: 5..6
sourcepub fn set_cp15ben(&mut self, value: bool)
pub fn set_cp15ben(&mut self, value: bool)
Bits: 5..6
sourcepub const fn with_en_rctx(self, value: bool) -> Self
pub const fn with_en_rctx(self, value: bool) -> Self
Bits: 10..11
sourcepub fn set_en_rctx(&mut self, value: bool)
pub fn set_en_rctx(&mut self, value: bool)
Bits: 10..11
sourcepub const fn with_en_db(self, value: bool) -> Self
pub const fn with_en_db(self, value: bool) -> Self
Bits: 13..14
sourcepub const fn with_n_twi(self, value: bool) -> Self
pub const fn with_n_twi(self, value: bool) -> Self
Bits: 16..17
sourcepub const fn with_n_twe(self, value: bool) -> Self
pub const fn with_n_twe(self, value: bool) -> Self
Bits: 18..19
sourcepub const fn with_tscxt(self, value: bool) -> Self
pub const fn with_tscxt(self, value: bool) -> Self
Bits: 20..21
sourcepub const fn with_en_da(self, value: bool) -> Self
pub const fn with_en_da(self, value: bool) -> Self
Bits: 27..28
sourcepub const fn with_n_tlsmd(self, value: bool) -> Self
pub const fn with_n_tlsmd(self, value: bool) -> Self
Bits: 28..29
sourcepub fn set_n_tlsmd(&mut self, value: bool)
pub fn set_n_tlsmd(&mut self, value: bool)
Bits: 28..29
sourcepub const fn with_lsmaoe(self, value: bool) -> Self
pub const fn with_lsmaoe(self, value: bool) -> Self
Bits: 29..30
sourcepub fn set_lsmaoe(&mut self, value: bool)
pub fn set_lsmaoe(&mut self, value: bool)
Bits: 29..30
sourcepub const fn with_en_ib(self, value: bool) -> Self
pub const fn with_en_ib(self, value: bool) -> Self
Bits: 30..31
sourcepub const fn with_en_ia(self, value: bool) -> Self
pub const fn with_en_ia(self, value: bool) -> Self
Bits: 31..32
sourcepub const fn with_msc_en(self, value: bool) -> Self
pub const fn with_msc_en(self, value: bool) -> Self
Bits: 33..34
sourcepub fn set_msc_en(&mut self, value: bool)
pub fn set_msc_en(&mut self, value: bool)
Bits: 33..34
sourcepub const fn with_itfsb(self, value: bool) -> Self
pub const fn with_itfsb(self, value: bool) -> Self
Bits: 37..38
sourcepub const fn with_dssbs(self, value: bool) -> Self
pub const fn with_dssbs(self, value: bool) -> Self
Bits: 44..45
sourcepub const fn with_twed_en(self, value: bool) -> Self
pub const fn with_twed_en(self, value: bool) -> Self
Bits: 45..46
sourcepub fn set_twed_en(&mut self, value: bool)
pub fn set_twed_en(&mut self, value: bool)
Bits: 45..46
sourcepub const fn with_twedel(self, value: u64) -> Self
pub const fn with_twedel(self, value: u64) -> Self
Bits: 46..50
sourcepub fn set_twedel(&mut self, value: u64)
pub fn set_twedel(&mut self, value: u64)
Bits: 46..50
sourcepub const fn with_en_asr(self, value: bool) -> Self
pub const fn with_en_asr(self, value: bool) -> Self
Bits: 54..55
sourcepub fn set_en_asr(&mut self, value: bool)
pub fn set_en_asr(&mut self, value: bool)
Bits: 54..55
sourcepub const fn with_en_as0(self, value: bool) -> Self
pub const fn with_en_as0(self, value: bool) -> Self
Bits: 55..56
sourcepub fn set_en_as0(&mut self, value: bool)
pub fn set_en_as0(&mut self, value: bool)
Bits: 55..56
sourcepub const fn with_en_als(self, value: bool) -> Self
pub const fn with_en_als(self, value: bool) -> Self
Bits: 56..57
sourcepub fn set_en_als(&mut self, value: bool)
pub fn set_en_als(&mut self, value: bool)
Bits: 56..57
sourcepub const fn with_tcso0(self, value: bool) -> Self
pub const fn with_tcso0(self, value: bool) -> Self
Bits: 58..59
sourcepub const fn with_en_tp2(self, value: bool) -> Self
pub const fn with_en_tp2(self, value: bool) -> Self
Bits: 60..61
sourcepub fn set_en_tp2(&mut self, value: bool)
pub fn set_en_tp2(&mut self, value: bool)
Bits: 60..61
sourcepub const fn with_spintmask(self, value: bool) -> Self
pub const fn with_spintmask(self, value: bool) -> Self
Bits: 62..63
sourcepub fn set_spintmask(&mut self, value: bool)
pub fn set_spintmask(&mut self, value: bool)
Bits: 62..63
sourcepub const fn with_tidcp(self, value: bool) -> Self
pub const fn with_tidcp(self, value: bool) -> Self
Bits: 63..64
Trait Implementations§
impl Copy for SctlrEl1
impl Eq for SctlrEl1
impl StructuralPartialEq for SctlrEl1
Auto Trait Implementations§
impl Freeze for SctlrEl1
impl RefUnwindSafe for SctlrEl1
impl Send for SctlrEl1
impl Sync for SctlrEl1
impl Unpin for SctlrEl1
impl UnwindSafe for SctlrEl1
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
)