Enum mpu9250::GyroTempDataRate
source · pub enum GyroTempDataRate {
FChoice0,
FChoice1,
DlpfConf(Dlpf),
}
Expand description
Controls the gyroscope and temperature sensor data rates and bandwidth.
Can be either set to one of two FChoices, 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.
Default is dlpf with default dlpf mode.
Variants§
FChoice0
FChoice x0: Gyroscope bandwidth=8800Hz, delay=0.064ms, Fs=32kHz; Temperature sensor bandwidth=4000Hz, delay=0.04ms.
FChoice1
FChoice 01: Gyroscope bandwidth=3600Hz, delay=0.11ms, Fs=32kHz; Temperature sensor bandwidth=4000Hz, delay=0.04ms.
DlpfConf(Dlpf)
FChoice set to 11 and data rate and bandwidth are controlled by Dlpf.
Trait Implementations§
source§impl Clone for GyroTempDataRate
impl Clone for GyroTempDataRate
source§fn clone(&self) -> GyroTempDataRate
fn clone(&self) -> GyroTempDataRate
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 GyroTempDataRate
impl Debug for GyroTempDataRate
source§impl Default for GyroTempDataRate
impl Default for GyroTempDataRate
impl Copy for GyroTempDataRate
Auto Trait Implementations§
impl RefUnwindSafe for GyroTempDataRate
impl Send for GyroTempDataRate
impl Sync for GyroTempDataRate
impl Unpin for GyroTempDataRate
impl UnwindSafe for GyroTempDataRate
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