#[repr(u8)]pub enum OutputDataRate {
PowerDown = 0,
Hz1 = 16,
Hz10 = 32,
Hz25 = 48,
Hz50 = 64,
Hz100 = 80,
Hz200 = 96,
Hz400 = 112,
HighSpeed = 128,
HighestSpeed = 144,
}
Expand description
Output data rate
Variants§
PowerDown = 0
Power-down mode
Hz1 = 16
1 Hz
Hz10 = 32
10 Hz
Hz25 = 48
25 Hz
Hz50 = 64
50 Hz
Hz100 = 80
100 Hz
Hz200 = 96
200 Hz
Hz400 = 112
400 Hz
HighSpeed = 128
1.620 kHz in low-power mode Normal and high-resolution modes are not defined in the datasheet for this configuration
HighestSpeed = 144
1.344 kHz in normal/high-resolution modes 5.376 kHz in low-power mode
Trait Implementations§
Source§impl Clone for OutputDataRate
impl Clone for OutputDataRate
Source§fn clone(&self) -> OutputDataRate
fn clone(&self) -> OutputDataRate
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for OutputDataRate
Auto Trait Implementations§
impl Freeze for OutputDataRate
impl RefUnwindSafe for OutputDataRate
impl Send for OutputDataRate
impl Sync for OutputDataRate
impl Unpin for OutputDataRate
impl UnwindSafe for OutputDataRate
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