#[repr(u8)]
pub enum DataRate {
    Hz_400,
    Hz_200,
    Hz_100,
    Hz_50,
    Hz_25,
    Hz_10,
    Hz_1,
    PowerDown,
}
Expand description

Output data rate.

Variants

Hz_400

400Hz (Default)

Hz_200

200Hz

Hz_100

100Hz

Hz_50

50Hz

Hz_25

25Hz

Hz_10

10Hz

Hz_1

1Hz

PowerDown

Power down

Implementations

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
The type returned in the event of a conversion error.
Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.