pub struct AltAccelConfig {
pub mode: AccelMode,
pub average: AverageSamples,
pub odr: OutputDataRate,
}Expand description
Reduced accelerometer configuration used by the BMI323 alternate mode.
Unlike AccelConfig, the alternate configuration does not contain
bandwidth or range fields. The hardware only exposes mode, averaging, and
output data rate in ALT_ACC_CONF.
Fields§
§mode: AccelModeSensor operating mode while the alternate configuration is active.
average: AverageSamplesSample averaging depth used in the alternate configuration.
odr: OutputDataRateAlternate output data rate.
Implementations§
Trait Implementations§
Source§impl Clone for AltAccelConfig
impl Clone for AltAccelConfig
Source§fn clone(&self) -> AltAccelConfig
fn clone(&self) -> AltAccelConfig
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 moreSource§impl Debug for AltAccelConfig
impl Debug for AltAccelConfig
Source§impl Format for AltAccelConfig
impl Format for AltAccelConfig
Source§impl PartialEq for AltAccelConfig
impl PartialEq for AltAccelConfig
impl Copy for AltAccelConfig
impl Eq for AltAccelConfig
impl StructuralPartialEq for AltAccelConfig
Auto Trait Implementations§
impl Freeze for AltAccelConfig
impl RefUnwindSafe for AltAccelConfig
impl Send for AltAccelConfig
impl Sync for AltAccelConfig
impl Unpin for AltAccelConfig
impl UnsafeUnpin for AltAccelConfig
impl UnwindSafe for AltAccelConfig
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