pub enum MovStatusConfig {
Tx(u8),
Rx(u8),
Irq(u8),
}Expand description
Comparison used for mov x, status instruction.
Variants§
Tx(u8)
The mov x, status instruction returns all ones if TX FIFO level is below the set status, otherwise all zeros.
Rx(u8)
The mov x, status instruction returns all ones if RX FIFO level is below the set status, otherwise all zeros.
Irq(u8)
The mov x, status instruction returns all ones if the indexed IRQ flag is raised, otherwise all-zeroes
Trait Implementations§
Source§impl Clone for MovStatusConfig
impl Clone for MovStatusConfig
Source§fn clone(&self) -> MovStatusConfig
fn clone(&self) -> MovStatusConfig
Returns a duplicate 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 MovStatusConfig
impl Debug for MovStatusConfig
impl Copy for MovStatusConfig
Auto Trait Implementations§
impl Freeze for MovStatusConfig
impl RefUnwindSafe for MovStatusConfig
impl Send for MovStatusConfig
impl Sync for MovStatusConfig
impl Unpin for MovStatusConfig
impl UnwindSafe for MovStatusConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more