Enum mpu9250::AccelDataRate
source · pub enum AccelDataRate {
FChoice0,
DlpfConf(Dlpf),
}
Expand description
Controls the accelerometer data rate and bandwidth.
Can be either set to FChoice, or to one of the 8
digital low pass filter modes. If the DLPF mode is used rate and bandwith
can be further tweaked by Sample Rate Divisor.
See page 13 of [Register map
] for details.
Noise Density for all values is 300 μg/rtHz.
Default is dlpf with default dlpf mode.
Variants§
FChoice0
ACCEL_FCHOICE 0: 3dB BW=1046Hz, delay=0.503ms, rate=4kHz.
DlpfConf(Dlpf)
FChoice set to 1 and data rate and bandwidth are controlled by Dlpf; rate = 1kHz.
Trait Implementations§
source§impl Clone for AccelDataRate
impl Clone for AccelDataRate
source§fn clone(&self) -> AccelDataRate
fn clone(&self) -> AccelDataRate
Returns a copy 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 moresource§impl Debug for AccelDataRate
impl Debug for AccelDataRate
source§impl Default for AccelDataRate
impl Default for AccelDataRate
impl Copy for AccelDataRate
Auto Trait Implementations§
impl RefUnwindSafe for AccelDataRate
impl Send for AccelDataRate
impl Sync for AccelDataRate
impl Unpin for AccelDataRate
impl UnwindSafe for AccelDataRate
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