bmp180-embedded-hal 0.1.0

A platform agnostic driver to interface with the BMP180 barometric pressure sensor.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Register addresses for the `BMP180` device.

/// Register addresses for the `BMP180` device.
#[repr(u8)]
#[cfg_attr(feature = "impl-defmt-format", derive(defmt::Format))]
#[cfg_attr(feature = "impl-debug", derive(core::fmt::Debug))]
pub enum Register {
    ChipId = 0xD0,
    CalibrationAc1 = 0xAA,
    Control = 0xF4,
    TempPressureData = 0xF6,
    ReadTempCmd = 0x2E,
    ReadPressureCmd = 0x34,
}