Enum avr_device::atmega4809::twi0::mstatus::BUSSTATE_A
source · #[repr(u8)]pub enum BUSSTATE_A {
UNKNOWN = 0,
IDLE = 1,
OWNER = 2,
BUSY = 3,
}
Expand description
Bus State
Value on reset: 0
Variants§
UNKNOWN = 0
0: Unknown Bus State
IDLE = 1
1: Bus is Idle
OWNER = 2
2: This Module Controls The Bus
BUSY = 3
3: The Bus is Busy
Trait Implementations§
source§impl Clone for BUSSTATE_A
impl Clone for BUSSTATE_A
source§fn clone(&self) -> BUSSTATE_A
fn clone(&self) -> BUSSTATE_A
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BUSSTATE_A
impl Debug for BUSSTATE_A
source§impl From<BUSSTATE_A> for u8
impl From<BUSSTATE_A> for u8
source§fn from(variant: BUSSTATE_A) -> Self
fn from(variant: BUSSTATE_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for BUSSTATE_A
impl PartialEq for BUSSTATE_A
source§fn eq(&self, other: &BUSSTATE_A) -> bool
fn eq(&self, other: &BUSSTATE_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BUSSTATE_A
impl Eq for BUSSTATE_A
impl StructuralPartialEq for BUSSTATE_A
Auto Trait Implementations§
impl RefUnwindSafe for BUSSTATE_A
impl Send for BUSSTATE_A
impl Sync for BUSSTATE_A
impl Unpin for BUSSTATE_A
impl UnwindSafe for BUSSTATE_A
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