pub struct AltGyroConfig {
pub mode: GyroMode,
pub average: AverageSamples,
pub odr: OutputDataRate,
}Expand description
Reduced gyroscope configuration used by the BMI323 alternate mode.
Unlike GyroConfig, the alternate configuration does not contain
bandwidth or range fields. The hardware only exposes mode, averaging, and
output data rate in ALT_GYR_CONF.
Fields§
§mode: GyroModeSensor 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 AltGyroConfig
impl Clone for AltGyroConfig
Source§fn clone(&self) -> AltGyroConfig
fn clone(&self) -> AltGyroConfig
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 AltGyroConfig
impl Debug for AltGyroConfig
Source§impl Format for AltGyroConfig
impl Format for AltGyroConfig
Source§impl PartialEq for AltGyroConfig
impl PartialEq for AltGyroConfig
impl Copy for AltGyroConfig
impl Eq for AltGyroConfig
impl StructuralPartialEq for AltGyroConfig
Auto Trait Implementations§
impl Freeze for AltGyroConfig
impl RefUnwindSafe for AltGyroConfig
impl Send for AltGyroConfig
impl Sync for AltGyroConfig
impl Unpin for AltGyroConfig
impl UnsafeUnpin for AltGyroConfig
impl UnwindSafe for AltGyroConfig
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