nxp-pac

Crates

git

Versions

mcxn947

Flavors

FmuAlphaFieldsetDelta

Struct FmuAlphaFieldsetDelta 

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

Flash Status Register.

Tuple Fields§

§0: u32

Implementations§

Source§

impl FmuAlphaFieldsetDelta

Source

pub const fn fail(&self) -> bool

Command Fail Flag. Raw bit values: false (0) = Fail0: Error not detected.; true (1) = Fail1: Error detected.

Source

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

Command Fail Flag. Raw bit values: false (0) = Fail0: Error not detected.; true (1) = Fail1: Error detected.

Source

pub const fn cmdabt(&self) -> bool

Command Abort Flag. Raw bit values: false (0) = Cmdabt0: No command abort detected.; true (1) = Cmdabt1: Command abort detected.

Source

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

Command Abort Flag. Raw bit values: false (0) = Cmdabt0: No command abort detected.; true (1) = Cmdabt1: Command abort detected.

Source

pub const fn pviol(&self) -> bool

Command Protection Violation Flag. Raw bit values: false (0) = Pviol0: No protection violation detected.; true (1) = Pviol1: Protection violation detected.

Source

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

Command Protection Violation Flag. Raw bit values: false (0) = Pviol0: No protection violation detected.; true (1) = Pviol1: Protection violation detected.

Source

pub const fn accerr(&self) -> bool

Command Access Error Flag. Raw bit values: false (0) = Accerr0: No access error detected.; true (1) = Accerr1: Access error detected.

Source

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

Command Access Error Flag. Raw bit values: false (0) = Accerr0: No access error detected.; true (1) = Accerr1: Access error detected.

Source

pub const fn cwsabt(&self) -> bool

Command Write Sequence Abort Flag. Raw bit values: false (0) = Cwsabt0: Command write sequence not aborted.; true (1) = Cwsabt1: Command write sequence aborted.

Source

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

Command Write Sequence Abort Flag. Raw bit values: false (0) = Cwsabt0: Command write sequence not aborted.; true (1) = Cwsabt1: Command write sequence aborted.

Source

pub const fn ccif(&self) -> bool

Command Complete Interrupt Flag. Raw bit values: false (0) = Ccif0: Flash command, initialization, or power mode recovery in progress.; true (1) = Ccif1: Flash command, initialization, or power mode recovery has completed.

Source

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

Command Complete Interrupt Flag. Raw bit values: false (0) = Ccif0: Flash command, initialization, or power mode recovery in progress.; true (1) = Ccif1: Flash command, initialization, or power mode recovery has completed.

Source

pub const fn cmdprt(&self) -> FmuAlphaEnumGolf

Command protection level.

Source

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

Command protection level.

Source

pub const fn cmdp(&self) -> bool

Command protection status flag. Raw bit values: false (0) = Cmdp0: Command protection level and domain ID are stale.; true (1) = Cmdp1: Command protection level (CMDPRT) and domain ID (CMDDID) are set.

Source

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

Command protection status flag. Raw bit values: false (0) = Cmdp0: Command protection level and domain ID are stale.; true (1) = Cmdp1: Command protection level (CMDPRT) and domain ID (CMDDID) are set.

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

Double Bit Fault Detect Interrupt Flag. Raw bit values: false (0) = Dfdif0: Double bit fault not detected during a valid flash read access.; true (1) = Dfdif1: Double bit fault detected (or FCTRL[FDFD] is set) during a valid flash read access.

Source

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

Double Bit Fault Detect Interrupt Flag. Raw bit values: false (0) = Dfdif0: Double bit fault not detected during a valid flash read access.; true (1) = Dfdif1: Double bit fault detected (or FCTRL[FDFD] is set) during a valid flash read access.

Source

pub const fn salv_used(&self) -> bool

Salvage Used for Erase operation. Raw bit values: false (0) = SalvUsed0: Salvage not used during last operation.; true (1) = SalvUsed1: Salvage used during the last erase operation.

Source

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

Salvage Used for Erase operation. Raw bit values: false (0) = SalvUsed0: Salvage not used during last operation.; true (1) = SalvUsed1: Salvage used during the last erase operation.

Source

pub const fn pewen(&self) -> FmuAlphaEnumQuebec

Program-Erase Write Enable Control.

Source

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

Program-Erase Write Enable Control.

Source

pub const fn perdy(&self) -> bool

Program-Erase Ready Control/Status Flag. Raw bit values: false (0) = Perdy0: Program or sector erase command operation not stalled.; true (1) = Perdy1: Program or sector erase command operation ready to execute.

Source

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

Program-Erase Ready Control/Status Flag. Raw bit values: false (0) = Perdy0: Program or sector erase command operation not stalled.; true (1) = Perdy1: Program or sector erase command operation ready to execute.

Trait Implementations§

Source§

impl Clone for FmuAlphaFieldsetDelta

Source§

fn clone(&self) -> FmuAlphaFieldsetDelta

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 FmuAlphaFieldsetDelta

Source§

fn default() -> FmuAlphaFieldsetDelta

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

impl PartialEq for FmuAlphaFieldsetDelta

Source§

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

Source§

impl Eq for FmuAlphaFieldsetDelta

Source§

impl StructuralPartialEq for FmuAlphaFieldsetDelta

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.