nxp-pac

Crates

git

Versions

mcxa355

Flavors

ResStatus

Struct ResStatus 

Source
#[repr(transparent)]
pub struct ResStatus(pub u32);
Expand description

Result Status.

Tuple Fields§

§0: u32

Implementations§

Source§

impl ResStatus

Source

pub const fn res0_nx(&self) -> bool

RES0 IEEE Inexact Flag. Raw bit values: false (0) = Res0NxNo: The result is not rounded.; true (1) = Res0NxYes: The result is rounded, and as a result some digits lost.

Source

pub const fn set_res0_nx(&mut self, val: bool)

RES0 IEEE Inexact Flag. Raw bit values: false (0) = Res0NxNo: The result is not rounded.; true (1) = Res0NxYes: The result is rounded, and as a result some digits lost.

Source

pub const fn res0_uf(&self) -> bool

RES0 IEEE Underflow Flag. Raw bit values: false (0) = Res0UfNo: No tiny non-zero result is detected.; true (1) = Res0UfYes: A tiny non-zero result is detected.

Source

pub const fn set_res0_uf(&mut self, val: bool)

RES0 IEEE Underflow Flag. Raw bit values: false (0) = Res0UfNo: No tiny non-zero result is detected.; true (1) = Res0UfYes: A tiny non-zero result is detected.

Source

pub const fn res0_of(&self) -> bool

RES0 IEEE Overflow Flag. Raw bit values: false (0) = Res0OfNo: The result format’s largest finite number is not exceeded.; true (1) = Res0OfYes: The result format’s largest finite number is exceeded.

Source

pub const fn set_res0_of(&mut self, val: bool)

RES0 IEEE Overflow Flag. Raw bit values: false (0) = Res0OfNo: The result format’s largest finite number is not exceeded.; true (1) = Res0OfYes: The result format’s largest finite number is exceeded.

Source

pub const fn res0_dz(&self) -> bool

RES0 IEEE Divide by Zero Flag. Raw bit values: false (0) = Res0DzNo: No exact infinite result is defined for an operation on finite operands.; true (1) = Res0DzYes: An exact infinite result is defined for an operation on finite operands.

Source

pub const fn set_res0_dz(&mut self, val: bool)

RES0 IEEE Divide by Zero Flag. Raw bit values: false (0) = Res0DzNo: No exact infinite result is defined for an operation on finite operands.; true (1) = Res0DzYes: An exact infinite result is defined for an operation on finite operands.

Source

pub const fn res0_nv(&self) -> bool

RES0 IEEE Invalid Flag. Raw bit values: false (0) = Res0NvNo: There is usefully definable result.; true (1) = Res0NvYes: There is no usefully definable result.

Source

pub const fn set_res0_nv(&mut self, val: bool)

RES0 IEEE Invalid Flag. Raw bit values: false (0) = Res0NvNo: There is usefully definable result.; true (1) = Res0NvYes: There is no usefully definable result.

Source

pub const fn res0_err(&self) -> bool

RES0 Indirect Operation Error Flag. Raw bit values: false (0) = Res0ErrNo: No invalid indirect operation is detected.; true (1) = Res0ErrYes: An invalid indirect operation error is detected.

Source

pub const fn set_res0_err(&mut self, val: bool)

RES0 Indirect Operation Error Flag. Raw bit values: false (0) = Res0ErrNo: No invalid indirect operation is detected.; true (1) = Res0ErrYes: An invalid indirect operation error is detected.

Source

pub const fn res0_ovwr(&self) -> bool

RES0 Overwrite Flag. Raw bit values: false (0) = Res0OvwrNo: The value of RES0 has been read.; true (1) = Res0OvwrYes: The value of RES0 has not been read yet and is overwritten by a new MAUWRAP result.

Source

pub const fn set_res0_ovwr(&mut self, val: bool)

RES0 Overwrite Flag. Raw bit values: false (0) = Res0OvwrNo: The value of RES0 has been read.; true (1) = Res0OvwrYes: The value of RES0 has not been read yet and is overwritten by a new MAUWRAP result.

Source

pub const fn res0_full(&self) -> bool

RES0 Full Flag. Raw bit values: false (0) = Res0FullNo: RES0 has not updated and cannot be read.; true (1) = Res0FullYes: RES0 has updated and can be read.

Source

pub const fn set_res0_full(&mut self, val: bool)

RES0 Full Flag. Raw bit values: false (0) = Res0FullNo: RES0 has not updated and cannot be read.; true (1) = Res0FullYes: RES0 has updated and can be read.

Source

pub const fn res1_nx(&self) -> bool

RES1 IEEE Inexact Flag. Raw bit values: false (0) = Res1NxNo: The result is not rounded.; true (1) = Res1NxYes: The result is rounded, and as a result some digits lost.

Source

pub const fn set_res1_nx(&mut self, val: bool)

RES1 IEEE Inexact Flag. Raw bit values: false (0) = Res1NxNo: The result is not rounded.; true (1) = Res1NxYes: The result is rounded, and as a result some digits lost.

Source

pub const fn res1_uf(&self) -> bool

RES1 IEEE Underflow Flag. Raw bit values: false (0) = Res1UfNo: No tiny non-zero result is detected.; true (1) = Res1UfYes: A tiny non-zero result is detected.

Source

pub const fn set_res1_uf(&mut self, val: bool)

RES1 IEEE Underflow Flag. Raw bit values: false (0) = Res1UfNo: No tiny non-zero result is detected.; true (1) = Res1UfYes: A tiny non-zero result is detected.

Source

pub const fn res1_of(&self) -> bool

RES1 IEEE Overflow Flag. Raw bit values: false (0) = Res1OfNo: The result format’s largest finite number is not exceeded.; true (1) = Res1OfYes: The result format’s largest finite number is exceeded.

Source

pub const fn set_res1_of(&mut self, val: bool)

RES1 IEEE Overflow Flag. Raw bit values: false (0) = Res1OfNo: The result format’s largest finite number is not exceeded.; true (1) = Res1OfYes: The result format’s largest finite number is exceeded.

Source

pub const fn res1_dz(&self) -> bool

RES1 IEEE Divide by Zero Flag. Raw bit values: false (0) = Res1DzNo: No exact infinite result is defined for an operation on finite operands.; true (1) = Res1DzYes: An exact infinite result is defined for an operation on finite operands.

Source

pub const fn set_res1_dz(&mut self, val: bool)

RES1 IEEE Divide by Zero Flag. Raw bit values: false (0) = Res1DzNo: No exact infinite result is defined for an operation on finite operands.; true (1) = Res1DzYes: An exact infinite result is defined for an operation on finite operands.

Source

pub const fn res1_nv(&self) -> bool

RES1 IEEE Invalid Flag. Raw bit values: false (0) = Res1NvNo: There is usefully definable result.; true (1) = Res1NvYes: There is no usefully definable result.

Source

pub const fn set_res1_nv(&mut self, val: bool)

RES1 IEEE Invalid Flag. Raw bit values: false (0) = Res1NvNo: There is usefully definable result.; true (1) = Res1NvYes: There is no usefully definable result.

Source

pub const fn res1_err(&self) -> bool

RES1 Indirect Operation Error Flag. Raw bit values: false (0) = Res1ErrNo: No invalid indirect operation is detected.; true (1) = Res1ErrYes: An invalid indirect operation error is detected.

Source

pub const fn set_res1_err(&mut self, val: bool)

RES1 Indirect Operation Error Flag. Raw bit values: false (0) = Res1ErrNo: No invalid indirect operation is detected.; true (1) = Res1ErrYes: An invalid indirect operation error is detected.

Source

pub const fn res1_ovwr(&self) -> bool

RES1 Overwrite Flag. Raw bit values: false (0) = Res1OvwrNo: The value of RES1 has been read.; true (1) = Res1OvwrYes: The value of RES1 has not been read yet and is overwritten by a new MAUWRAP result.

Source

pub const fn set_res1_ovwr(&mut self, val: bool)

RES1 Overwrite Flag. Raw bit values: false (0) = Res1OvwrNo: The value of RES1 has been read.; true (1) = Res1OvwrYes: The value of RES1 has not been read yet and is overwritten by a new MAUWRAP result.

Source

pub const fn res1_full(&self) -> bool

RES1 Full Flag. Raw bit values: false (0) = Res1FullNo: RES1 has not updated and cannot be read.; true (1) = Res1FullYes: RES1 has updated and can be read.

Source

pub const fn set_res1_full(&mut self, val: bool)

RES1 Full Flag. Raw bit values: false (0) = Res1FullNo: RES1 has not updated and cannot be read.; true (1) = Res1FullYes: RES1 has updated and can be read.

Source

pub const fn res2_nx(&self) -> bool

RES2 IEEE Inexact Flag. Raw bit values: false (0) = Res2NxNo: The result is not rounded.; true (1) = Res2NxYes: The result is rounded, and as a result some digits lost.

Source

pub const fn set_res2_nx(&mut self, val: bool)

RES2 IEEE Inexact Flag. Raw bit values: false (0) = Res2NxNo: The result is not rounded.; true (1) = Res2NxYes: The result is rounded, and as a result some digits lost.

Source

pub const fn res2_uf(&self) -> bool

RES2 IEEE Underflow Flag. Raw bit values: false (0) = Res2UfNo: No tiny non-zero result is detected.; true (1) = Res2UfYes: A tiny non-zero result is detected.

Source

pub const fn set_res2_uf(&mut self, val: bool)

RES2 IEEE Underflow Flag. Raw bit values: false (0) = Res2UfNo: No tiny non-zero result is detected.; true (1) = Res2UfYes: A tiny non-zero result is detected.

Source

pub const fn res2_of(&self) -> bool

RES2 IEEE Overflow Flag. Raw bit values: false (0) = Res2OfNo: The result format’s largest finite number is not exceeded.; true (1) = Res2OfYes: The result format’s largest finite number is exceeded.

Source

pub const fn set_res2_of(&mut self, val: bool)

RES2 IEEE Overflow Flag. Raw bit values: false (0) = Res2OfNo: The result format’s largest finite number is not exceeded.; true (1) = Res2OfYes: The result format’s largest finite number is exceeded.

Source

pub const fn res2_dz(&self) -> bool

RES2 IEEE Divide by Zero Flag. Raw bit values: false (0) = Res2DzNo: No exact infinite result is defined for an operation on finite operands.; true (1) = Res2DzYes: An exact infinite result is defined for an operation on finite operands.

Source

pub const fn set_res2_dz(&mut self, val: bool)

RES2 IEEE Divide by Zero Flag. Raw bit values: false (0) = Res2DzNo: No exact infinite result is defined for an operation on finite operands.; true (1) = Res2DzYes: An exact infinite result is defined for an operation on finite operands.

Source

pub const fn res2_nv(&self) -> bool

RES2 IEEE Invalid Flag. Raw bit values: false (0) = Res2NvNo: There is usefully definable result.; true (1) = Res2NvYes: There is no usefully definable result.

Source

pub const fn set_res2_nv(&mut self, val: bool)

RES2 IEEE Invalid Flag. Raw bit values: false (0) = Res2NvNo: There is usefully definable result.; true (1) = Res2NvYes: There is no usefully definable result.

Source

pub const fn res2_err(&self) -> bool

RES2 Indirect Operation Error Flag. Raw bit values: false (0) = Res2ErrNo: No invalid indirect operation is detected.; true (1) = Res2ErrYes: An invalid indirect operation error is detected.

Source

pub const fn set_res2_err(&mut self, val: bool)

RES2 Indirect Operation Error Flag. Raw bit values: false (0) = Res2ErrNo: No invalid indirect operation is detected.; true (1) = Res2ErrYes: An invalid indirect operation error is detected.

Source

pub const fn res2_ovwr(&self) -> bool

RES2 Overwrite Flag. Raw bit values: false (0) = Res2OvwrNo: The value of RES2 has been read.; true (1) = Res2OvwrYes: The value of RES2 has not been read yet and is overwritten by a new MAUWRAP result.

Source

pub const fn set_res2_ovwr(&mut self, val: bool)

RES2 Overwrite Flag. Raw bit values: false (0) = Res2OvwrNo: The value of RES2 has been read.; true (1) = Res2OvwrYes: The value of RES2 has not been read yet and is overwritten by a new MAUWRAP result.

Source

pub const fn res2_full(&self) -> bool

RES2 Full Flag. Raw bit values: false (0) = Res2FullNo: RES2 has not updated and cannot be read.; true (1) = Res2FullYes: RES2 has updated and can be read.

Source

pub const fn set_res2_full(&mut self, val: bool)

RES2 Full Flag. Raw bit values: false (0) = Res2FullNo: RES2 has not updated and cannot be read.; true (1) = Res2FullYes: RES2 has updated and can be read.

Source

pub const fn res3_nx(&self) -> bool

RES3 IEEE Inexact Flag. Raw bit values: false (0) = Res3NxNo: The result is not rounded.; true (1) = Res3NxYes: The result is rounded, and as a result some digits lost.

Source

pub const fn set_res3_nx(&mut self, val: bool)

RES3 IEEE Inexact Flag. Raw bit values: false (0) = Res3NxNo: The result is not rounded.; true (1) = Res3NxYes: The result is rounded, and as a result some digits lost.

Source

pub const fn res3_uf(&self) -> bool

RES3 IEEE Underflow Flag. Raw bit values: false (0) = Res3UfNo: No tiny non-zero result is detected.; true (1) = Res3UfYes: A tiny non-zero result is detected.

Source

pub const fn set_res3_uf(&mut self, val: bool)

RES3 IEEE Underflow Flag. Raw bit values: false (0) = Res3UfNo: No tiny non-zero result is detected.; true (1) = Res3UfYes: A tiny non-zero result is detected.

Source

pub const fn res3_of(&self) -> bool

RES3 IEEE Overflow Flag. Raw bit values: false (0) = Res3OfNo: The result format’s largest finite number is not exceeded.; true (1) = Res3OfYes: The result format’s largest finite number is exceeded.

Source

pub const fn set_res3_of(&mut self, val: bool)

RES3 IEEE Overflow Flag. Raw bit values: false (0) = Res3OfNo: The result format’s largest finite number is not exceeded.; true (1) = Res3OfYes: The result format’s largest finite number is exceeded.

Source

pub const fn res3_dz(&self) -> bool

RES3 IEEE Divide by Zero Flag. Raw bit values: false (0) = Res3DzNo: No exact infinite result is defined for an operation on finite operands.; true (1) = Res3DzYes: An exact infinite result is defined for an operation on finite operands.

Source

pub const fn set_res3_dz(&mut self, val: bool)

RES3 IEEE Divide by Zero Flag. Raw bit values: false (0) = Res3DzNo: No exact infinite result is defined for an operation on finite operands.; true (1) = Res3DzYes: An exact infinite result is defined for an operation on finite operands.

Source

pub const fn res3_nv(&self) -> bool

RES3 IEEE Invalid Flag. Raw bit values: false (0) = Res3NvNo: There is usefully definable result.; true (1) = Res3NvYes: There is no usefully definable result.

Source

pub const fn set_res3_nv(&mut self, val: bool)

RES3 IEEE Invalid Flag. Raw bit values: false (0) = Res3NvNo: There is usefully definable result.; true (1) = Res3NvYes: There is no usefully definable result.

Source

pub const fn res3_err(&self) -> bool

RES3 Indirect Operation Error Flag. Raw bit values: false (0) = Res3ErrNo: No invalid indirect operation is detected.; true (1) = Res3ErrYes: An invalid indirect operation error is detected.

Source

pub const fn set_res3_err(&mut self, val: bool)

RES3 Indirect Operation Error Flag. Raw bit values: false (0) = Res3ErrNo: No invalid indirect operation is detected.; true (1) = Res3ErrYes: An invalid indirect operation error is detected.

Source

pub const fn res3_ovwr(&self) -> bool

RES3 Overwrite Flag. Raw bit values: false (0) = Res3OvwrNo: The value of RES3 has been read.; true (1) = Res3OvwrYes: The value of RES3 has not been read yet and is overwritten by a new MAUWRAP result.

Source

pub const fn set_res3_ovwr(&mut self, val: bool)

RES3 Overwrite Flag. Raw bit values: false (0) = Res3OvwrNo: The value of RES3 has been read.; true (1) = Res3OvwrYes: The value of RES3 has not been read yet and is overwritten by a new MAUWRAP result.

Source

pub const fn res3_full(&self) -> bool

RES3 Full Flag. Raw bit values: false (0) = Res3FullNo: RES3 has not updated and cannot be read.; true (1) = Res3FullYes: RES3 has updated and can be read.

Source

pub const fn set_res3_full(&mut self, val: bool)

RES3 Full Flag. Raw bit values: false (0) = Res3FullNo: RES3 has not updated and cannot be read.; true (1) = Res3FullYes: RES3 has updated and can be read.

Trait Implementations§

Source§

impl Clone for ResStatus

Source§

fn clone(&self) -> ResStatus

Returns a duplicate 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 Default for ResStatus

Source§

fn default() -> ResStatus

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

impl PartialEq for ResStatus

Source§

fn eq(&self, other: &ResStatus) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for ResStatus

Source§

impl Eq for ResStatus

Source§

impl StructuralPartialEq for ResStatus

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, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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, 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.