#[repr(transparent)]pub struct Bist(pub u32);
Expand description
During BIST, count address locations that have at least one leaky bit
Tuple Fields§
§0: u32
Implementations§
source§impl Bist
impl Bist
sourcepub const fn cnt(&self) -> u16
pub const fn cnt(&self) -> u16
Number of locations that have at least one leaky bit. Note: This count is true only if the BIST was initiated without the fix option.
sourcepub fn set_cnt(&mut self, val: u16)
pub fn set_cnt(&mut self, val: u16)
Number of locations that have at least one leaky bit. Note: This count is true only if the BIST was initiated without the fix option.
sourcepub const fn cnt_max(&self) -> u16
pub const fn cnt_max(&self) -> u16
The cnt_fail flag will be set if the number of leaky locations exceeds this number
sourcepub fn set_cnt_max(&mut self, val: u16)
pub fn set_cnt_max(&mut self, val: u16)
The cnt_fail flag will be set if the number of leaky locations exceeds this number
sourcepub fn set_cnt_ena(&mut self, val: bool)
pub fn set_cnt_ena(&mut self, val: bool)
Enable the counter before the BIST function is initiated
sourcepub fn set_cnt_clr(&mut self, val: bool)
pub fn set_cnt_clr(&mut self, val: bool)
Clear counter before use
sourcepub const fn cnt_fail(&self) -> bool
pub const fn cnt_fail(&self) -> bool
Flag if the count of address locations with at least one leaky bit exceeds cnt_max
sourcepub fn set_cnt_fail(&mut self, val: bool)
pub fn set_cnt_fail(&mut self, val: bool)
Flag if the count of address locations with at least one leaky bit exceeds cnt_max
Trait Implementations§
impl Copy for Bist
impl Eq for Bist
impl StructuralPartialEq for Bist
Auto Trait Implementations§
impl Freeze for Bist
impl RefUnwindSafe for Bist
impl Send for Bist
impl Sync for Bist
impl Unpin for Bist
impl UnwindSafe for Bist
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)