Enum lis3dh_async::DataRate
source · #[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§
source§impl TryFrom<u8> for DataRate
impl TryFrom<u8> for DataRate
§type Error = TryFromPrimitiveError<DataRate>
type Error = TryFromPrimitiveError<DataRate>
The type returned in the event of a conversion error.