pub enum EmacState {
Uninitialized,
Initialized,
Running,
}Expand description
EMAC driver state.
Variants§
Uninitialized
Not yet initialized.
Initialized
init() succeeded but DMA/MAC are not running.
Running
start() succeeded — DMA active, can transmit/receive.
Trait Implementations§
impl Copy for EmacState
impl Eq for EmacState
impl StructuralPartialEq for EmacState
Auto Trait Implementations§
impl Freeze for EmacState
impl RefUnwindSafe for EmacState
impl Send for EmacState
impl Sync for EmacState
impl Unpin for EmacState
impl UnsafeUnpin for EmacState
impl UnwindSafe for EmacState
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