#[repr(u8)]pub enum DataRate {
Hz_400 = 7,
Hz_200 = 6,
Hz_100 = 5,
Hz_50 = 4,
Hz_25 = 3,
Hz_10 = 2,
Hz_1 = 1,
PowerDown = 0,
}
Expand description
Output data rate.
Variants§
Hz_400 = 7
400Hz (Default)
Hz_200 = 6
200Hz
Hz_100 = 5
100Hz
Hz_50 = 4
50Hz
Hz_25 = 3
25Hz
Hz_10 = 2
10Hz
Hz_1 = 1
1Hz
PowerDown = 0
Power down
Implementations§
Trait Implementations§
Source§impl TryFromPrimitive for DataRate
impl TryFromPrimitive for DataRate
impl Copy for DataRate
impl Eq for DataRate
impl StructuralPartialEq for DataRate
Auto Trait Implementations§
impl Freeze for DataRate
impl RefUnwindSafe for DataRate
impl Send for DataRate
impl Sync for DataRate
impl Unpin for DataRate
impl UnwindSafe for DataRate
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more