1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
//! A platform agnostic driver to interface with the `BMP180` (pressure sensor) using the [`embedded-hal`](embedded_hal) and [`embedded-hal-async`](embedded_hal_async) traits.
//!
//! # Features
//! The following features are available:
//! - `blocking`: enables blocking functionality.
//! - `async`: enables asynchronous functionality.
//! - `log`: enables debug logging using the `log` crate.
//! - `defmt`: enables debug logging using the `defmt` crate.
//! - `impl-debug`: implements `core::fmt::Debug` for structs and enums.
//! - `impl-defmt-format`: implements `defmt::Format` for structs and enums.
//! - `fuzz`: enables the `fuzz` module for fuzz testing.
//! - `disable-arithmetic-checks`: disables arithmetic checks.
//! - `i-know-what-i-am-doing`: allows you to split an initialized device into its parts and put it back together.
//! Useful when you want to release the I2C bus and use it for something else.
//! This is not recommended though, you can use [`embedded-hal-bus`](https://crates.io/crates/embedded-hal-bus)
//! or [`embassy-embedded-hal`](https://crates.io/crates/embassy-embedded-hal) to share the I2C bus.
pub use crateAddress;
pub use crateCalibration;
pub use crateBMP180Error;
pub use crateId;
pub use crateMode;
pub use crateasynch;
pub use crateblocking;
/// Our custom `try!` macro aka `?`, to get rid of [`core::convert::From`]/[`core::convert::Into`] used by the `?` operator.
use tri;