[][src]Enum pololu_smc::variable_types::ResetSource

pub enum ResetSource {
    NRstPulledLow,
    PowerLow,
    SoftwareReset,
    WatchdogTimer,
    Unknown,
}

Reasons for why the controller board was reset

Variants

NRstPulledLow

RST pin was pulled low by external source

PowerLow

Power reset (VIN got too low or was disconnected)

SoftwareReset

Software reset (by firmware upgrade process)

WatchdogTimer

Watchdog timer reset (should never happen; this could indicate a firmware bug)

Unknown

Controller returned a value not specified in the offical user's guide.

Trait Implementations

impl Clone for ResetSource[src]

impl Copy for ResetSource[src]

impl Debug for ResetSource[src]

impl Eq for ResetSource[src]

impl From<u16> for ResetSource[src]

impl Hash for ResetSource[src]

impl Ord for ResetSource[src]

impl PartialEq<ResetSource> for ResetSource[src]

impl PartialOrd<ResetSource> for ResetSource[src]

impl StructuralEq for ResetSource[src]

impl StructuralPartialEq for ResetSource[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.