pub enum Load {
Write(Register, u8),
WriteFirmware(u16),
ReadBack(u16),
CheckParity(Register),
}Expand description
A step in loading firmware.
The whole sequence is data, so a driver walks it against a bus and a test walks it against nothing.
Variants§
Write(Register, u8)
Write a value to a register.
WriteFirmware(u16)
Write the firmware to memory, starting here.
ReadBack(u16)
Read the same span back, to compare it with what went out.
CheckParity(Register)
Read the parity register, which must come back zero.
Trait Implementations§
impl Copy for Load
impl Eq for Load
impl StructuralPartialEq for Load
Auto Trait Implementations§
impl Freeze for Load
impl RefUnwindSafe for Load
impl Send for Load
impl Sync for Load
impl Unpin for Load
impl UnsafeUnpin for Load
impl UnwindSafe for Load
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