nxp-pac

Crates

git

Versions

mcxa256

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) -> Res0Nx

RES0 IEEE Inexact Flag

Source

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

RES0 IEEE Inexact Flag

Source

pub const fn res0_uf(&self) -> Res0Uf

RES0 IEEE Underflow Flag

Source

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

RES0 IEEE Underflow Flag

Source

pub const fn res0_of(&self) -> Res0Of

RES0 IEEE Overflow Flag

Source

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

RES0 IEEE Overflow Flag

Source

pub const fn res0_dz(&self) -> Res0Dz

RES0 IEEE Divide by Zero Flag

Source

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

RES0 IEEE Divide by Zero Flag

Source

pub const fn res0_nv(&self) -> Res0Nv

RES0 IEEE Invalid Flag

Source

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

RES0 IEEE Invalid Flag

Source

pub const fn res0_err(&self) -> Res0Err

RES0 Indirect Operation Error Flag

Source

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

RES0 Indirect Operation Error Flag

Source

pub const fn res0_ovwr(&self) -> Res0Ovwr

RES0 Overwrite Flag

Source

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

RES0 Overwrite Flag

Source

pub const fn res0_full(&self) -> Res0Full

RES0 Full Flag

Source

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

RES0 Full Flag

Source

pub const fn res1_nx(&self) -> Res1Nx

RES1 IEEE Inexact Flag

Source

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

RES1 IEEE Inexact Flag

Source

pub const fn res1_uf(&self) -> Res1Uf

RES1 IEEE Underflow Flag

Source

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

RES1 IEEE Underflow Flag

Source

pub const fn res1_of(&self) -> Res1Of

RES1 IEEE Overflow Flag

Source

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

RES1 IEEE Overflow Flag

Source

pub const fn res1_dz(&self) -> Res1Dz

RES1 IEEE Divide by Zero Flag

Source

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

RES1 IEEE Divide by Zero Flag

Source

pub const fn res1_nv(&self) -> Res1Nv

RES1 IEEE Invalid Flag

Source

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

RES1 IEEE Invalid Flag

Source

pub const fn res1_err(&self) -> Res1Err

RES1 Indirect Operation Error Flag

Source

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

RES1 Indirect Operation Error Flag

Source

pub const fn res1_ovwr(&self) -> Res1Ovwr

RES1 Overwrite Flag

Source

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

RES1 Overwrite Flag

Source

pub const fn res1_full(&self) -> Res1Full

RES1 Full Flag

Source

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

RES1 Full Flag

Source

pub const fn res2_nx(&self) -> Res2Nx

RES2 IEEE Inexact Flag

Source

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

RES2 IEEE Inexact Flag

Source

pub const fn res2_uf(&self) -> Res2Uf

RES2 IEEE Underflow Flag

Source

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

RES2 IEEE Underflow Flag

Source

pub const fn res2_of(&self) -> Res2Of

RES2 IEEE Overflow Flag

Source

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

RES2 IEEE Overflow Flag

Source

pub const fn res2_dz(&self) -> Res2Dz

RES2 IEEE Divide by Zero Flag

Source

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

RES2 IEEE Divide by Zero Flag

Source

pub const fn res2_nv(&self) -> Res2Nv

RES2 IEEE Invalid Flag

Source

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

RES2 IEEE Invalid Flag

Source

pub const fn res2_err(&self) -> Res2Err

RES2 Indirect Operation Error Flag

Source

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

RES2 Indirect Operation Error Flag

Source

pub const fn res2_ovwr(&self) -> Res2Ovwr

RES2 Overwrite Flag

Source

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

RES2 Overwrite Flag

Source

pub const fn res2_full(&self) -> Res2Full

RES2 Full Flag

Source

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

RES2 Full Flag

Source

pub const fn res3_nx(&self) -> Res3Nx

RES3 IEEE Inexact Flag

Source

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

RES3 IEEE Inexact Flag

Source

pub const fn res3_uf(&self) -> Res3Uf

RES3 IEEE Underflow Flag

Source

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

RES3 IEEE Underflow Flag

Source

pub const fn res3_of(&self) -> Res3Of

RES3 IEEE Overflow Flag

Source

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

RES3 IEEE Overflow Flag

Source

pub const fn res3_dz(&self) -> Res3Dz

RES3 IEEE Divide by Zero Flag

Source

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

RES3 IEEE Divide by Zero Flag

Source

pub const fn res3_nv(&self) -> Res3Nv

RES3 IEEE Invalid Flag

Source

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

RES3 IEEE Invalid Flag

Source

pub const fn res3_err(&self) -> Res3Err

RES3 Indirect Operation Error Flag

Source

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

RES3 Indirect Operation Error Flag

Source

pub const fn res3_ovwr(&self) -> Res3Ovwr

RES3 Overwrite Flag

Source

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

RES3 Overwrite Flag

Source

pub const fn res3_full(&self) -> Res3Full

RES3 Full Flag

Source

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

RES3 Full Flag

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 Debug for ResStatus

Source§

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

Formats the value using the given formatter. 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.