Enum lis3dh::DataRate [−][src]
#[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
400Hz (Default)
200Hz
100Hz
50Hz
25Hz
10Hz
1Hz
Power down
Implementations
Trait Implementations
type Error = TryFromPrimitiveError<Self>
type Error = TryFromPrimitiveError<Self>
The type returned in the event of a conversion error.
Performs the conversion.