Struct aarch64defs::IssDataAbort

source ·
pub struct IssDataAbort(/* private fields */);

Implementations§

source§

impl IssDataAbort

source

pub const fn new() -> Self

Creates a new default initialized bitfield.

source

pub const fn from_bits(bits: u32) -> Self

Convert from bits.

source

pub const fn into_bits(self) -> u32

Convert into bits.

source

pub const fn dfsc(&self) -> FaultStatusCode

Bits: 0..6

source

pub const fn with_dfsc(self, value: FaultStatusCode) -> Self

Bits: 0..6

source

pub fn set_dfsc(&mut self, value: FaultStatusCode)

Bits: 0..6

source

pub const fn wnr(&self) -> bool

Bits: 6..7

source

pub const fn with_wnr(self, value: bool) -> Self

Bits: 6..7

source

pub fn set_wnr(&mut self, value: bool)

Bits: 6..7

source

pub const fn s1ptw(&self) -> bool

Bits: 7..8

source

pub const fn with_s1ptw(self, value: bool) -> Self

Bits: 7..8

source

pub fn set_s1ptw(&mut self, value: bool)

Bits: 7..8

source

pub const fn cm(&self) -> bool

Bits: 8..9

source

pub const fn with_cm(self, value: bool) -> Self

Bits: 8..9

source

pub fn set_cm(&mut self, value: bool)

Bits: 8..9

source

pub const fn ea(&self) -> bool

Bits: 9..10

source

pub const fn with_ea(self, value: bool) -> Self

Bits: 9..10

source

pub fn set_ea(&mut self, value: bool)

Bits: 9..10

source

pub const fn fnv(&self) -> bool

FAR not valid

Bits: 10..11

source

pub const fn with_fnv(self, value: bool) -> Self

FAR not valid

Bits: 10..11

source

pub fn set_fnv(&mut self, value: bool)

FAR not valid

Bits: 10..11

source

pub const fn set(&self) -> u8

Bits: 11..13

source

pub const fn with_set(self, value: u8) -> Self

Bits: 11..13

source

pub fn set_set(&mut self, value: u8)

Bits: 11..13

source

pub const fn vncr(&self) -> bool

Bits: 13..14

source

pub const fn with_vncr(self, value: bool) -> Self

Bits: 13..14

source

pub fn set_vncr(&mut self, value: bool)

Bits: 13..14

source

pub const fn ar(&self) -> bool

Acquire/release

Bits: 14..15

source

pub const fn with_ar(self, value: bool) -> Self

Acquire/release

Bits: 14..15

source

pub fn set_ar(&mut self, value: bool)

Acquire/release

Bits: 14..15

source

pub const fn sf(&self) -> bool

(ISV==1) 64-bit, (ISV==0) FAR is approximate

Bits: 15..16

source

pub const fn with_sf(self, value: bool) -> Self

(ISV==1) 64-bit, (ISV==0) FAR is approximate

Bits: 15..16

source

pub fn set_sf(&mut self, value: bool)

(ISV==1) 64-bit, (ISV==0) FAR is approximate

Bits: 15..16

source

pub const fn srt(&self) -> u8

Register index.

Bits: 16..21

source

pub const fn with_srt(self, value: u8) -> Self

Register index.

Bits: 16..21

source

pub fn set_srt(&mut self, value: u8)

Register index.

Bits: 16..21

source

pub const fn sse(&self) -> bool

Sign extended.

Bits: 21..22

source

pub const fn with_sse(self, value: bool) -> Self

Sign extended.

Bits: 21..22

source

pub fn set_sse(&mut self, value: bool)

Sign extended.

Bits: 21..22

source

pub const fn sas(&self) -> u8

access width log2

Bits: 22..24

source

pub const fn with_sas(self, value: u8) -> Self

access width log2

Bits: 22..24

source

pub fn set_sas(&mut self, value: u8)

access width log2

Bits: 22..24

source

pub const fn isv(&self) -> bool

Valid ESREL2 iss field.

Bits: 24..25

source

pub const fn with_isv(self, value: bool) -> Self

Valid ESREL2 iss field.

Bits: 24..25

source

pub fn set_isv(&mut self, value: bool)

Valid ESREL2 iss field.

Bits: 24..25

Trait Implementations§

source§

impl Clone for IssDataAbort

source§

fn clone(&self) -> IssDataAbort

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for IssDataAbort

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for IssDataAbort

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl From<IssDataAbort> for EsrEl2

source§

fn from(abort_code: IssDataAbort) -> Self

Converts to this type from the input type.
source§

impl From<IssDataAbort> for u32

source§

fn from(v: IssDataAbort) -> u32

Converts to this type from the input type.
source§

impl From<u32> for IssDataAbort

source§

fn from(v: u32) -> Self

Converts to this type from the input type.
source§

impl Copy for IssDataAbort

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.