Enum mpu9250_dmp::AccelFsr [−][src]
pub enum AccelFsr { Opt2G, Opt4G, Opt8G, Opt16G, }
Variants
Opt2G
Opt4G
Opt8G
Opt16G
Methods
impl AccelFsr
[src]
impl AccelFsr
The full-scale range of the accelerometer. 2G gives the highest sensitivity, but saturates at +-2G. 16G gives the lowest sensitivity, but has the largest range.
pub fn get_sensitivity_g(&self) -> f32
[src]
pub fn get_sensitivity_g(&self) -> f32
Sensitivity is the measurement of the LSB.
pub fn get_sensitivity_mss(&self) -> f32
[src]
pub fn get_sensitivity_mss(&self) -> f32
Trait Implementations
impl Copy for AccelFsr
[src]
impl Copy for AccelFsr
impl Clone for AccelFsr
[src]
impl Clone for AccelFsr
fn clone(&self) -> AccelFsr
[src]
fn clone(&self) -> AccelFsr
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for AccelFsr
[src]
impl Debug for AccelFsr