Enum pio::JmpCondition
source · #[repr(u8)]
pub enum JmpCondition {
Always,
XIsZero,
XDecNonZero,
YIsZero,
YDecNonZero,
XNotEqualY,
PinHigh,
OutputShiftRegisterNotEmpty,
}
Variants§
Always
Always
XIsZero
!X
: scratch X zero
XDecNonZero
X--
: scratch X non-zero, post decrement
YIsZero
!Y
: scratch Y zero
YDecNonZero
Y--
: scratch Y non-zero, post decrement
XNotEqualY
X!=Y
: scratch X not equal to scratch Y
PinHigh
PIN
: branch on input pin
OutputShiftRegisterNotEmpty
!OSRE
: output shift register not empty
Trait Implementations§
source§impl Clone for JmpCondition
impl Clone for JmpCondition
source§fn clone(&self) -> JmpCondition
fn clone(&self) -> JmpCondition
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 JmpCondition
impl Debug for JmpCondition
source§impl TryFrom<u8> for JmpCondition
impl TryFrom<u8> for JmpCondition
§type Error = TryFromPrimitiveError<JmpCondition>
type Error = TryFromPrimitiveError<JmpCondition>
The type returned in the event of a conversion error.