#[repr(transparent)]pub struct Fctrl(pub u32);Expand description
Flash Control Register.
Tuple Fields§
§0: u32Implementations§
Source§impl Fctrl
impl Fctrl
Sourcepub const fn lsactive(&self) -> bool
pub const fn lsactive(&self) -> bool
Low speed active mode. Raw bit values: false (0) = Lsactive0: Full speed active mode requested.; true (1) = Lsactive1: Low speed active mode requested.
Sourcepub const fn set_lsactive(&mut self, val: bool)
pub const fn set_lsactive(&mut self, val: bool)
Low speed active mode. Raw bit values: false (0) = Lsactive0: Full speed active mode requested.; true (1) = Lsactive1: Low speed active mode requested.
Sourcepub const fn fdfd(&self) -> bool
pub const fn fdfd(&self) -> bool
Force Double Bit Fault Detect. Raw bit values: false (0) = Fdfd0: FSTAT[DFDIF] sets only if a double bit fault is detected during a valid flash read access from the platform flash controller.; true (1) = Fdfd1: FSTAT[DFDIF] sets during any valid flash read access from the platform flash controller. An interrupt request is generated if the DFDIE bit is set.
Sourcepub const fn set_fdfd(&mut self, val: bool)
pub const fn set_fdfd(&mut self, val: bool)
Force Double Bit Fault Detect. Raw bit values: false (0) = Fdfd0: FSTAT[DFDIF] sets only if a double bit fault is detected during a valid flash read access from the platform flash controller.; true (1) = Fdfd1: FSTAT[DFDIF] sets during any valid flash read access from the platform flash controller. An interrupt request is generated if the DFDIE bit is set.
Sourcepub const fn abtreq(&self) -> bool
pub const fn abtreq(&self) -> bool
Abort Request. Raw bit values: false (0) = Abtreq0: No request to abort a command write sequence.; true (1) = Abtreq1: Request to abort a command write sequence.
Sourcepub const fn set_abtreq(&mut self, val: bool)
pub const fn set_abtreq(&mut self, val: bool)
Abort Request. Raw bit values: false (0) = Abtreq0: No request to abort a command write sequence.; true (1) = Abtreq1: Request to abort a command write sequence.