pub struct Check {
pub width: Width,
pub cond: CheckCond,
pub address: u32,
pub mask: u32,
pub count: Option<u32>,
}Expand description
Command for polling an address until the value matches a given bitmask condition.
Fields§
§width: WidthWidth of the bus read.
cond: CheckCondCondition to check — see CheckCond.
address: u32§mask: u32§count: Option<u32>If None, poll indefinitely; otherwise poll at most this many times.
Trait Implementations§
source§impl PartialEq<Check> for Check
impl PartialEq<Check> for Check
impl Eq for Check
impl StructuralEq for Check
impl StructuralPartialEq for Check
Auto Trait Implementations§
impl RefUnwindSafe for Check
impl Send for Check
impl Sync for Check
impl Unpin for Check
impl UnwindSafe for Check
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