pub enum Step {
Await(u8),
Version(u8),
Write(u8, u8),
Notify(u8),
Verify(u8, u8),
}Expand description
A step in the exchange that starts a microcontroller.
Variants§
Await(u8)
Wait until the status reads this.
Version(u8)
Read the firmware version and refuse anything but this.
Write(u8, u8)
Put a value in a mailbox.
Notify(u8)
Tell the microcontroller which group of settings was just written.
Verify(u8, u8)
Read a mailbox back and refuse anything but this.
Trait Implementations§
impl Copy for Step
impl Eq for Step
impl StructuralPartialEq for Step
Auto Trait Implementations§
impl Freeze for Step
impl RefUnwindSafe for Step
impl Send for Step
impl Sync for Step
impl Unpin for Step
impl UnsafeUnpin for Step
impl UnwindSafe for Step
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