Skip to main content

Loop

Enum Loop 

Source
#[repr(u8)]
pub enum Loop { CmdExec1x = 0, CmdExec2x = 1, CmdExec3x = 2, CmdExecutesCorrespondingTimes3 = 3, CmdExecutesCorrespondingTimes4 = 4, CmdExecutesCorrespondingTimes5 = 5, CmdExecutesCorrespondingTimes6 = 6, CmdExecutesCorrespondingTimes7 = 7, CmdExecutesCorrespondingTimes8 = 8, CmdExecutesCorrespondingTimes9 = 9, CmdExec15x = 15, }
Expand description

Loop Count Select

Value on reset: 0

Variants§

§

CmdExec1x = 0

0: Looping not enabled. Command executes 1 time.

§

CmdExec2x = 1

1: Loop 1 time. Command executes 2 times.

§

CmdExec3x = 2

2: Loop 2 times. Command executes 3 times.

§

CmdExecutesCorrespondingTimes3 = 3

3: Loop corresponding number of times. Command executes LOOP+1 times.

§

CmdExecutesCorrespondingTimes4 = 4

4: Loop corresponding number of times. Command executes LOOP+1 times.

§

CmdExecutesCorrespondingTimes5 = 5

5: Loop corresponding number of times. Command executes LOOP+1 times.

§

CmdExecutesCorrespondingTimes6 = 6

6: Loop corresponding number of times. Command executes LOOP+1 times.

§

CmdExecutesCorrespondingTimes7 = 7

7: Loop corresponding number of times. Command executes LOOP+1 times.

§

CmdExecutesCorrespondingTimes8 = 8

8: Loop corresponding number of times. Command executes LOOP+1 times.

§

CmdExecutesCorrespondingTimes9 = 9

9: Loop corresponding number of times. Command executes LOOP+1 times.

§

CmdExec15x = 15

15: Loop 15 times. Command executes 16 times.

Trait Implementations§

Source§

impl Clone for Loop

Source§

fn clone(&self) -> Loop

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for Loop

Source§

impl Debug for Loop

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for Loop

Source§

impl FieldSpec for Loop

Source§

type Ux = u8

Raw field type (u8, u16, u32, …).
Source§

impl From<Loop> for u8

Source§

fn from(variant: Loop) -> Self

Converts to this type from the input type.
Source§

impl IsEnum for Loop

Source§

impl PartialEq for Loop

Source§

fn eq(&self, other: &Loop) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for Loop

Auto Trait Implementations§

§

impl Freeze for Loop

§

impl RefUnwindSafe for Loop

§

impl Send for Loop

§

impl Sync for Loop

§

impl Unpin for Loop

§

impl UnsafeUnpin for Loop

§

impl UnwindSafe for Loop

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.