pub struct Reading {
pub temperature_centi_celsius: i32,
pub pressure_q24_8: u32,
}Expand description
A compensated BMP280 reading.
The fields are the exact integer outputs of the reference compensation code; the methods present them in conventional units.
Fields§
§temperature_centi_celsius: i32Temperature in hundredths of a degree Celsius.
pressure_q24_8: u32Pressure in pascals as Q24.8 fixed point, that is units of 1/256 Pa.
Implementations§
Trait Implementations§
impl Copy for Reading
impl Eq for Reading
impl StructuralPartialEq for Reading
Auto Trait Implementations§
impl Freeze for Reading
impl RefUnwindSafe for Reading
impl Send for Reading
impl Sync for Reading
impl Unpin for Reading
impl UnsafeUnpin for Reading
impl UnwindSafe for Reading
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