[][src]Enum jrk_g2_rs::JrkG2Command

pub enum JrkG2Command {
    SetTarget,
    SetTargetLowResRev,
    SetTargetLowResFwd,
    ForceDutyCycleTarget,
    ForceDutyCycle,
    MotorOff,
    GetVariable8,
    GetVariable16,
    GetEEPROMSettings,
    GetVariables,
    SetRAMSettings,
    GetRAMSettings,
    GetCurrentChoppingOccurrenceCount,
}

This enum defines the Jrk G2 command bytes which are used for its serial and I2C interfaces. These bytes are used by the library and you should not need to use them.

Variants

SetTarget
SetTargetLowResRev
SetTargetLowResFwd
ForceDutyCycleTarget
ForceDutyCycle
MotorOff
GetVariable8
GetVariable16
GetEEPROMSettings
GetVariables
SetRAMSettings
GetRAMSettings
GetCurrentChoppingOccurrenceCount

Trait Implementations

impl Clone for JrkG2Command[src]

impl Copy for JrkG2Command[src]

impl Debug for JrkG2Command[src]

impl uDebug for JrkG2Command[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.