pub struct Config {
pub bandwidth: AccelConfigBandwidth,
pub range: AccelRange,
pub performance_mode: AccelConfigPerfMode,
pub sample_rate: AccelConfigOdr,
}Expand description
Configuration of the accelerometer measurements.
Fields§
§bandwidth: AccelConfigBandwidthThe bandwidth or averaging mode
range: AccelRangeThe range of measurable accelerations
performance_mode: AccelConfigPerfModeFilter mode
sample_rate: AccelConfigOdrSampling rate
Trait Implementations§
impl Copy for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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