pub struct Check {
pub width: Width,
pub cond: CheckCond,
pub address: u32,
pub mask: u32,
pub count: Option<u32>,
}Expand description
DCD 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: u32Address to read from. Unlike Write::address, any address is valid.
mask: u32Bitmask to check the value against — see CheckCond.
count: Option<u32>Optional poll count:
None=> poll indefinitelySome(0)=> equivalent toCommand::NopSome(x) if x > 0=> poll at mostxtimes; if the condition still is not satisfied, the boot ROM will abandon interpreting the rest of the DCD.
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