nxp-pac

Crates

git

Versions

mcxn947_cm33_core0

Flavors

Fstat

Struct Fstat 

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

Flash Status Register

Tuple Fields§

§0: u32

Implementations§

Source§

impl Fstat

Source

pub const fn fail(&self) -> Fail

Command Fail Flag

Source

pub const fn set_fail(&mut self, val: Fail)

Command Fail Flag

Source

pub const fn cmdabt(&self) -> Cmdabt

Command Abort Flag

Source

pub const fn set_cmdabt(&mut self, val: Cmdabt)

Command Abort Flag

Source

pub const fn pviol(&self) -> Pviol

Command Protection Violation Flag

Source

pub const fn set_pviol(&mut self, val: Pviol)

Command Protection Violation Flag

Source

pub const fn accerr(&self) -> Accerr

Command Access Error Flag

Source

pub const fn set_accerr(&mut self, val: Accerr)

Command Access Error Flag

Source

pub const fn cwsabt(&self) -> Cwsabt

Command Write Sequence Abort Flag

Source

pub const fn set_cwsabt(&mut self, val: Cwsabt)

Command Write Sequence Abort Flag

Source

pub const fn ccif(&self) -> Ccif

Command Complete Interrupt Flag

Source

pub const fn set_ccif(&mut self, val: Ccif)

Command Complete Interrupt Flag

Source

pub const fn cmdprt(&self) -> Cmdprt

Command protection level

Source

pub const fn set_cmdprt(&mut self, val: Cmdprt)

Command protection level

Source

pub const fn cmdp(&self) -> Cmdp

Command protection status flag

Source

pub const fn set_cmdp(&mut self, val: Cmdp)

Command protection status flag

Source

pub const fn cmddid(&self) -> u8

Command domain ID

Source

pub const fn set_cmddid(&mut self, val: u8)

Command domain ID

Source

pub const fn dfdif(&self) -> Dfdif

Double Bit Fault Detect Interrupt Flag

Source

pub const fn set_dfdif(&mut self, val: Dfdif)

Double Bit Fault Detect Interrupt Flag

Source

pub const fn salv_used(&self) -> SalvUsed

Salvage Used for Erase operation

Source

pub const fn set_salv_used(&mut self, val: SalvUsed)

Salvage Used for Erase operation

Source

pub const fn pewen(&self) -> Pewen

Program-Erase Write Enable Control

Source

pub const fn set_pewen(&mut self, val: Pewen)

Program-Erase Write Enable Control

Source

pub const fn perdy(&self) -> Perdy

Program-Erase Ready Control/Status Flag

Source

pub const fn set_perdy(&mut self, val: Perdy)

Program-Erase Ready Control/Status Flag

Trait Implementations§

Source§

impl Clone for Fstat

Source§

fn clone(&self) -> Fstat

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 Fstat

Source§

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

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

impl Default for Fstat

Source§

fn default() -> Fstat

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

impl PartialEq for Fstat

Source§

fn eq(&self, other: &Fstat) -> 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 Fstat

Source§

impl Eq for Fstat

Source§

impl StructuralPartialEq for Fstat

Auto Trait Implementations§

§

impl Freeze for Fstat

§

impl RefUnwindSafe for Fstat

§

impl Send for Fstat

§

impl Sync for Fstat

§

impl Unpin for Fstat

§

impl UnwindSafe for Fstat

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.