pub struct DataSample {
pub pressure: u32,
pub temperature: u32,
}Expand description
The payload for the Data (0x04 - 0x09) registers.
Fields§
§pressure: u32The 24-bit uncalibrated pressure data from the DATA_0, DATA_1 and DATA_2 registers.
temperature: u32The 24-bit uncalibrated temperature data from the DATA_3, DATA_4 and DATA_5 registers.
Trait Implementations§
Source§impl Clone for DataSample
impl Clone for DataSample
impl Copy for DataSample
Auto Trait Implementations§
impl Freeze for DataSample
impl RefUnwindSafe for DataSample
impl Send for DataSample
impl Sync for DataSample
impl Unpin for DataSample
impl UnsafeUnpin for DataSample
impl UnwindSafe for DataSample
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