Enum rp2040_hal::pio::MovStatusConfig
source · pub enum MovStatusConfig {
Tx(u8),
Rx(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.
Trait Implementations§
source§impl Clone for MovStatusConfig
impl Clone for MovStatusConfig
source§fn clone(&self) -> MovStatusConfig
fn clone(&self) -> MovStatusConfig
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 MovStatusConfig
impl Debug for MovStatusConfig
impl Copy for MovStatusConfig
Auto Trait Implementations§
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