#[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) = Zz43: Full speed active mode requested.; true (1) = Zz44: 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) = Zz43: Full speed active mode requested.; true (1) = Zz44: 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) = Zz41: FSTAT[DFDIF] sets only if a double bit fault is detected during a valid flash read access from the FMC.; true (1) = Zz42: FSTAT[DFDIF] sets during any valid flash read access from the FMC; 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) = Zz41: FSTAT[DFDIF] sets only if a double bit fault is detected during a valid flash read access from the FMC.; true (1) = Zz42: FSTAT[DFDIF] sets during any valid flash read access from the FMC; 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) = Zz39: No request to abort a command write sequence.; true (1) = Zz40: 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) = Zz39: No request to abort a command write sequence.; true (1) = Zz40: Request to abort a command write sequence.