pub struct Status {
pub accel_data_ready: bool,
pub gyro_data_ready: bool,
pub magnet_data_ready: bool,
pub nvm_ready: bool,
pub foc_ready: bool,
pub magnet_manual_op: bool,
pub gyro_self_test_ok: bool,
}
Expand description
Sensor status flags
Fields§
§accel_data_ready: bool
Accelerometer has data ready
gyro_data_ready: bool
Gyroscope has data ready
magnet_data_ready: bool
Magnetometer has data ready
nvm_ready: bool
NVM controller ready
foc_ready: bool
Fast offset compensation (FOC) completed
magnet_manual_op: bool
Manual magnetometer operation
gyro_self_test_ok: bool
Gyroscope self-test completed successfully
Trait Implementations§
source§impl PartialEq for Status
impl PartialEq for Status
impl Copy for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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