#[repr(transparent)]pub struct Ftest(pub u32);Expand description
Flash Test Register.
Tuple Fields§
§0: u32Implementations§
Source§impl Ftest
impl Ftest
Sourcepub const fn tmectl(&self) -> bool
pub const fn tmectl(&self) -> bool
Test Mode Entry Control. Raw bit values: false (0) = Zz69: FTEST register always reads 0 and writes to FTEST are ignored.; true (1) = Zz70: FTEST register is readable and can be written to enable writability of TME.
Sourcepub const fn set_tmectl(&mut self, val: bool)
pub const fn set_tmectl(&mut self, val: bool)
Test Mode Entry Control. Raw bit values: false (0) = Zz69: FTEST register always reads 0 and writes to FTEST are ignored.; true (1) = Zz70: FTEST register is readable and can be written to enable writability of TME.
Sourcepub const fn tmewr(&self) -> bool
pub const fn tmewr(&self) -> bool
Test Mode Entry Writable. Raw bit values: false (0) = Zz67: TME bit is not writable.; true (1) = Zz68: TME bit is writable.
Sourcepub const fn set_tmewr(&mut self, val: bool)
pub const fn set_tmewr(&mut self, val: bool)
Test Mode Entry Writable. Raw bit values: false (0) = Zz67: TME bit is not writable.; true (1) = Zz68: TME bit is writable.
Sourcepub const fn tme(&self) -> bool
pub const fn tme(&self) -> bool
Test Mode Entry. Raw bit values: false (0) = Zz65: Test mode entry not requested.; true (1) = Zz66: Test mode entry requested.
Sourcepub const fn set_tme(&mut self, val: bool)
pub const fn set_tme(&mut self, val: bool)
Test Mode Entry. Raw bit values: false (0) = Zz65: Test mode entry not requested.; true (1) = Zz66: Test mode entry requested.
Sourcepub const fn tmode(&self) -> bool
pub const fn tmode(&self) -> bool
Test Mode Status. Raw bit values: false (0) = Zz63: Test mode not active.; true (1) = Zz64: Test mode active.
Sourcepub const fn set_tmode(&mut self, val: bool)
pub const fn set_tmode(&mut self, val: bool)
Test Mode Status. Raw bit values: false (0) = Zz63: Test mode not active.; true (1) = Zz64: Test mode active.
Sourcepub const fn tmelock(&self) -> bool
pub const fn tmelock(&self) -> bool
Test Mode Entry Lock. Raw bit values: false (0) = Zz61: FTEST register not locked from accepting writes.; true (1) = Zz62: FTEST register locked from accepting writes.
Sourcepub const fn set_tmelock(&mut self, val: bool)
pub const fn set_tmelock(&mut self, val: bool)
Test Mode Entry Lock. Raw bit values: false (0) = Zz61: FTEST register not locked from accepting writes.; true (1) = Zz62: FTEST register locked from accepting writes.