#[repr(transparent)]pub struct FmuAlphaFieldsetDelta(pub u32);Expand description
Flash Status Register.
Tuple Fields§
§0: u32Implementations§
Source§impl FmuAlphaFieldsetDelta
impl FmuAlphaFieldsetDelta
Sourcepub const fn fail(&self) -> bool
pub const fn fail(&self) -> bool
Command Fail Flag. Raw bit values: false (0) = Fail0: Error not detected.; true (1) = Fail1: Error detected.
Sourcepub const fn set_fail(&mut self, val: bool)
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.
Sourcepub const fn cmdabt(&self) -> bool
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.
Sourcepub const fn set_cmdabt(&mut self, val: bool)
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.
Sourcepub const fn pviol(&self) -> bool
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.
Sourcepub const fn set_pviol(&mut self, val: bool)
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.
Sourcepub const fn accerr(&self) -> bool
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.
Sourcepub const fn set_accerr(&mut self, val: bool)
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.
Sourcepub const fn cwsabt(&self) -> bool
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.
Sourcepub const fn set_cwsabt(&mut self, val: bool)
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.
Sourcepub const fn ccif(&self) -> bool
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.
Sourcepub const fn set_ccif(&mut self, val: bool)
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.
Sourcepub const fn cmdprt(&self) -> FmuAlphaEnumGolf
pub const fn cmdprt(&self) -> FmuAlphaEnumGolf
Command protection level.
Sourcepub const fn set_cmdprt(&mut self, val: FmuAlphaEnumGolf)
pub const fn set_cmdprt(&mut self, val: FmuAlphaEnumGolf)
Command protection level.
Sourcepub const fn cmdp(&self) -> bool
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.
Sourcepub const fn set_cmdp(&mut self, val: bool)
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.
Sourcepub const fn set_cmddid(&mut self, val: u8)
pub const fn set_cmddid(&mut self, val: u8)
Command domain ID.
Sourcepub const fn dfdif(&self) -> bool
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.
Sourcepub const fn set_dfdif(&mut self, val: bool)
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.
Sourcepub const fn salv_used(&self) -> bool
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.
Sourcepub const fn set_salv_used(&mut self, val: bool)
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.
Sourcepub const fn pewen(&self) -> FmuAlphaEnumQuebec
pub const fn pewen(&self) -> FmuAlphaEnumQuebec
Program-Erase Write Enable Control.
Sourcepub const fn set_pewen(&mut self, val: FmuAlphaEnumQuebec)
pub const fn set_pewen(&mut self, val: FmuAlphaEnumQuebec)
Program-Erase Write Enable Control.
Trait Implementations§
Source§impl Clone for FmuAlphaFieldsetDelta
impl Clone for FmuAlphaFieldsetDelta
Source§fn clone(&self) -> FmuAlphaFieldsetDelta
fn clone(&self) -> FmuAlphaFieldsetDelta
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more