[][src]Enum clyde_3g_eps_api::ResetTelemetry::Type

pub enum Type {
    BrownOut,
    AutomaticSoftware,
    Manual,
    Watchdog,
}
[]

Reset Telemetry Variants

Each of these reset telemetry commands may return two bytes or four bytes, depending on whether or not a daughterboard exists. The first two bytes will always represent the motherboard, the second two will represent the daughterboard. All counters roll over at 255 to 0.

Variants

BrownOut
[]

Get Number of Brown-out Resets

AutomaticSoftware
[]

Get Number of Automatic Software Resets If the on-board microcontroller has experienced a malfunction, such as being stuck in a loop, it will reset itself into a pre-defined initial state.

Manual
[]

Get Number of Manual Resets This is the count of the number of times the device has been manually reset using the Reset command.

Watchdog
[]

Get Number of Communications Watchdog Resets The device will reset itself if it does not receive any data via i2c for a predefined length of time. The communications node keeps a count of the number of times such an event has taken place.

Trait Implementations

impl Copy for Type[src]

impl Eq for Type[src]

impl Clone for Type[src][+]

fn clone_from(&mut self, source: &Self)1.0.0[src][]

Performs copy-assignment from source. Read more

impl PartialEq<Type> for Type[src][+]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src][]

This method tests for !=.

impl Hash for Type[src][+]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src][]

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for Type[src][+]

Auto Trait Implementations

impl Unpin for Type

impl Sync for Type

impl Send for Type

impl UnwindSafe for Type

impl RefUnwindSafe for Type

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src][+]

type Owned = T

The resulting type after obtaining ownership.

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.

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

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

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