pub struct SctlrEl1(/* private fields */);
Expand description
aarch64 SCTRL_EL1
Implementations§
Source§impl SctlrEl1
impl SctlrEl1
Sourcepub const fn with_m_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_m_checked(self, value: bool) -> Result<Self, ()>
Bits: 0..1
Sourcepub const fn with_a_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_a_checked(self, value: bool) -> Result<Self, ()>
Bits: 1..2
Sourcepub const fn with_c_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_c_checked(self, value: bool) -> Result<Self, ()>
Bits: 2..3
Sourcepub const fn with_sa_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_sa_checked(self, value: bool) -> Result<Self, ()>
Bits: 3..4
Sourcepub const fn with_sa0_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_sa0_checked(self, value: bool) -> Result<Self, ()>
Bits: 4..5
Sourcepub const fn with_cp15ben_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_cp15ben_checked(self, value: bool) -> Result<Self, ()>
Bits: 5..6
Sourcepub const fn with_cp15ben(self, value: bool) -> Self
pub const fn with_cp15ben(self, value: bool) -> Self
Bits: 5..6
Sourcepub const fn set_cp15ben(&mut self, value: bool)
pub const fn set_cp15ben(&mut self, value: bool)
Bits: 5..6
Sourcepub const fn with_n_aa_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_n_aa_checked(self, value: bool) -> Result<Self, ()>
Bits: 6..7
Sourcepub const fn with_itd_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_itd_checked(self, value: bool) -> Result<Self, ()>
Bits: 7..8
Sourcepub const fn with_sed_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_sed_checked(self, value: bool) -> Result<Self, ()>
Bits: 8..9
Sourcepub const fn with_uma_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_uma_checked(self, value: bool) -> Result<Self, ()>
Bits: 9..10
Sourcepub const fn with_en_rctx_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_en_rctx_checked(self, value: bool) -> Result<Self, ()>
Bits: 10..11
Sourcepub const fn with_en_rctx(self, value: bool) -> Self
pub const fn with_en_rctx(self, value: bool) -> Self
Bits: 10..11
Sourcepub const fn set_en_rctx(&mut self, value: bool)
pub const fn set_en_rctx(&mut self, value: bool)
Bits: 10..11
Sourcepub const fn with_eos_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_eos_checked(self, value: bool) -> Result<Self, ()>
Bits: 11..12
Sourcepub const fn with_i_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_i_checked(self, value: bool) -> Result<Self, ()>
Bits: 12..13
Sourcepub const fn with_en_db_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_en_db_checked(self, value: bool) -> Result<Self, ()>
Bits: 13..14
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_dze_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_dze_checked(self, value: bool) -> Result<Self, ()>
Bits: 14..15
Sourcepub const fn with_uct_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_uct_checked(self, value: bool) -> Result<Self, ()>
Bits: 15..16
Sourcepub const fn with_n_twi_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_n_twi_checked(self, value: bool) -> Result<Self, ()>
Bits: 16..17
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_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_n_twe_checked(self, value: bool) -> Result<Self, ()>
Bits: 18..19
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_wxn_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_wxn_checked(self, value: bool) -> Result<Self, ()>
Bits: 19..20
Sourcepub const fn with_tscxt_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_tscxt_checked(self, value: bool) -> Result<Self, ()>
Bits: 20..21
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_iesb_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_iesb_checked(self, value: bool) -> Result<Self, ()>
Bits: 21..22
Sourcepub const fn with_eis_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_eis_checked(self, value: bool) -> Result<Self, ()>
Bits: 22..23
Sourcepub const fn with_span_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_span_checked(self, value: bool) -> Result<Self, ()>
Bits: 23..24
Sourcepub const fn with_e0e_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_e0e_checked(self, value: bool) -> Result<Self, ()>
Bits: 24..25
Sourcepub const fn with_ee_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_ee_checked(self, value: bool) -> Result<Self, ()>
Bits: 25..26
Sourcepub const fn with_uci_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_uci_checked(self, value: bool) -> Result<Self, ()>
Bits: 26..27
Sourcepub const fn with_en_da_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_en_da_checked(self, value: bool) -> Result<Self, ()>
Bits: 27..28
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_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_n_tlsmd_checked(self, value: bool) -> Result<Self, ()>
Bits: 28..29
Sourcepub const fn with_n_tlsmd(self, value: bool) -> Self
pub const fn with_n_tlsmd(self, value: bool) -> Self
Bits: 28..29
Sourcepub const fn set_n_tlsmd(&mut self, value: bool)
pub const fn set_n_tlsmd(&mut self, value: bool)
Bits: 28..29
Sourcepub const fn with_lsmaoe_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_lsmaoe_checked(self, value: bool) -> Result<Self, ()>
Bits: 29..30
Sourcepub const fn with_lsmaoe(self, value: bool) -> Self
pub const fn with_lsmaoe(self, value: bool) -> Self
Bits: 29..30
Sourcepub const fn set_lsmaoe(&mut self, value: bool)
pub const fn set_lsmaoe(&mut self, value: bool)
Bits: 29..30
Sourcepub const fn with_en_ib_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_en_ib_checked(self, value: bool) -> Result<Self, ()>
Bits: 30..31
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_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_en_ia_checked(self, value: bool) -> Result<Self, ()>
Bits: 31..32
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_cmow_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_cmow_checked(self, value: bool) -> Result<Self, ()>
Bits: 32..33
Sourcepub const fn with_msc_en_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_msc_en_checked(self, value: bool) -> Result<Self, ()>
Bits: 33..34
Sourcepub const fn with_msc_en(self, value: bool) -> Self
pub const fn with_msc_en(self, value: bool) -> Self
Bits: 33..34
Sourcepub const fn set_msc_en(&mut self, value: bool)
pub const fn set_msc_en(&mut self, value: bool)
Bits: 33..34
Sourcepub const fn with_bt0_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_bt0_checked(self, value: bool) -> Result<Self, ()>
Bits: 35..36
Sourcepub const fn with_bt1_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_bt1_checked(self, value: bool) -> Result<Self, ()>
Bits: 36..37
Sourcepub const fn with_itfsb_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_itfsb_checked(self, value: bool) -> Result<Self, ()>
Bits: 37..38
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_tcf0_checked(self, value: u64) -> Result<Self, ()>
pub const fn with_tcf0_checked(self, value: u64) -> Result<Self, ()>
Bits: 38..40
Sourcepub const fn with_tcf_checked(self, value: u64) -> Result<Self, ()>
pub const fn with_tcf_checked(self, value: u64) -> Result<Self, ()>
Bits: 40..42
Sourcepub const fn with_ata0_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_ata0_checked(self, value: bool) -> Result<Self, ()>
Bits: 42..43
Sourcepub const fn with_ata_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_ata_checked(self, value: bool) -> Result<Self, ()>
Bits: 43..44
Sourcepub const fn with_dssbs_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_dssbs_checked(self, value: bool) -> Result<Self, ()>
Bits: 44..45
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_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_twed_en_checked(self, value: bool) -> Result<Self, ()>
Bits: 45..46
Sourcepub const fn with_twed_en(self, value: bool) -> Self
pub const fn with_twed_en(self, value: bool) -> Self
Bits: 45..46
Sourcepub const fn set_twed_en(&mut self, value: bool)
pub const fn set_twed_en(&mut self, value: bool)
Bits: 45..46
Sourcepub const fn with_twedel_checked(self, value: u64) -> Result<Self, ()>
pub const fn with_twedel_checked(self, value: u64) -> Result<Self, ()>
Bits: 46..50
Sourcepub const fn with_twedel(self, value: u64) -> Self
pub const fn with_twedel(self, value: u64) -> Self
Bits: 46..50
Sourcepub const fn set_twedel(&mut self, value: u64)
pub const fn set_twedel(&mut self, value: u64)
Bits: 46..50
Sourcepub const fn with_tmt0_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_tmt0_checked(self, value: bool) -> Result<Self, ()>
Bits: 50..51
Sourcepub const fn with_tmt_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_tmt_checked(self, value: bool) -> Result<Self, ()>
Bits: 51..52
Sourcepub const fn with_tme0_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_tme0_checked(self, value: bool) -> Result<Self, ()>
Bits: 52..53
Sourcepub const fn with_tme_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_tme_checked(self, value: bool) -> Result<Self, ()>
Bits: 53..54
Sourcepub const fn with_en_asr_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_en_asr_checked(self, value: bool) -> Result<Self, ()>
Bits: 54..55
Sourcepub const fn with_en_asr(self, value: bool) -> Self
pub const fn with_en_asr(self, value: bool) -> Self
Bits: 54..55
Sourcepub const fn set_en_asr(&mut self, value: bool)
pub const fn set_en_asr(&mut self, value: bool)
Bits: 54..55
Sourcepub const fn with_en_as0_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_en_as0_checked(self, value: bool) -> Result<Self, ()>
Bits: 55..56
Sourcepub const fn with_en_as0(self, value: bool) -> Self
pub const fn with_en_as0(self, value: bool) -> Self
Bits: 55..56
Sourcepub const fn set_en_as0(&mut self, value: bool)
pub const fn set_en_as0(&mut self, value: bool)
Bits: 55..56
Sourcepub const fn with_en_als_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_en_als_checked(self, value: bool) -> Result<Self, ()>
Bits: 56..57
Sourcepub const fn with_en_als(self, value: bool) -> Self
pub const fn with_en_als(self, value: bool) -> Self
Bits: 56..57
Sourcepub const fn set_en_als(&mut self, value: bool)
pub const fn set_en_als(&mut self, value: bool)
Bits: 56..57
Sourcepub const fn with_epan_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_epan_checked(self, value: bool) -> Result<Self, ()>
Bits: 57..58
Sourcepub const fn with_tcso0_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_tcso0_checked(self, value: bool) -> Result<Self, ()>
Bits: 58..59
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_tcso_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_tcso_checked(self, value: bool) -> Result<Self, ()>
Bits: 59..60
Sourcepub const fn with_en_tp2_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_en_tp2_checked(self, value: bool) -> Result<Self, ()>
Bits: 60..61
Sourcepub const fn with_en_tp2(self, value: bool) -> Self
pub const fn with_en_tp2(self, value: bool) -> Self
Bits: 60..61
Sourcepub const fn set_en_tp2(&mut self, value: bool)
pub const fn set_en_tp2(&mut self, value: bool)
Bits: 60..61
Sourcepub const fn with_nmi_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_nmi_checked(self, value: bool) -> Result<Self, ()>
Bits: 61..62
Sourcepub const fn with_spintmask_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_spintmask_checked(self, value: bool) -> Result<Self, ()>
Bits: 62..63
Sourcepub const fn with_spintmask(self, value: bool) -> Self
pub const fn with_spintmask(self, value: bool) -> Self
Bits: 62..63
Sourcepub const fn set_spintmask(&mut self, value: bool)
pub const fn set_spintmask(&mut self, value: bool)
Bits: 62..63
Sourcepub const fn with_tidcp_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_tidcp_checked(self, value: bool) -> Result<Self, ()>
Bits: 63..64
Sourcepub const fn with_tidcp(self, value: bool) -> Self
pub const fn with_tidcp(self, value: bool) -> Self
Bits: 63..64