#[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) = Tmectl0: FTEST register always reads 0 and writes to FTEST are ignored.; true (1) = Tmectl1: 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) = Tmectl0: FTEST register always reads 0 and writes to FTEST are ignored.; true (1) = Tmectl1: 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) = Tmewr0: TME bit is not writable.; true (1) = Tmewr1: 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) = Tmewr0: TME bit is not writable.; true (1) = Tmewr1: TME bit is writable.
Sourcepub const fn tme(&self) -> bool
pub const fn tme(&self) -> bool
Test Mode Entry. Raw bit values: false (0) = Tme0: Test mode entry not requested.; true (1) = Tme1: 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) = Tme0: Test mode entry not requested.; true (1) = Tme1: Test mode entry requested.
Sourcepub const fn tmode(&self) -> bool
pub const fn tmode(&self) -> bool
Test Mode Status. Raw bit values: false (0) = Tmode0: Test mode not active.; true (1) = Tmode1: 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) = Tmode0: Test mode not active.; true (1) = Tmode1: Test mode active.
Sourcepub const fn tmelock(&self) -> bool
pub const fn tmelock(&self) -> bool
Test Mode Entry Lock. Raw bit values: false (0) = Tmelock0: FTEST register not locked from accepting writes.; true (1) = Tmelock1: 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) = Tmelock0: FTEST register not locked from accepting writes.; true (1) = Tmelock1: FTEST register locked from accepting writes.