[][src]Struct pololu_smc::variable_types::Errors

pub struct Errors {
    pub safe_start_violation: bool,
    pub required_channel_invalid: bool,
    pub serial_error: bool,
    pub command_timeout: bool,
    pub limit_kill_switch: bool,
    pub low_vin: bool,
    pub high_vin: bool,
    pub over_temperature: bool,
    pub motor_driver_error: bool,
    pub err_line_high: bool,
}

Error flags that are stopping the motor from running.

The motor can only be driven when all of these flags are false

Fields

safe_start_violation: bool

Safe start violation.

required_channel_invalid: bool

Required channel invalid.

serial_error: bool

Serial error.

command_timeout: bool

Command timeout.

limit_kill_switch: bool

Limit/kill switch.

low_vin: bool

Low VIN.

high_vin: bool

High VIN.

over_temperature: bool

Over temperature.

motor_driver_error: bool

Motor driver error.

err_line_high: bool

ERR line high.

Trait Implementations

impl Clone for Errors[src]

impl Copy for Errors[src]

impl Debug for Errors[src]

impl Eq for Errors[src]

impl From<u16> for Errors[src]

impl Hash for Errors[src]

impl Ord for Errors[src]

impl PartialEq<Errors> for Errors[src]

impl PartialOrd<Errors> for Errors[src]

impl StructuralEq for Errors[src]

impl StructuralPartialEq for Errors[src]

Auto Trait Implementations

impl Send for Errors

impl Sync for Errors

impl Unpin for Errors

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.