Expand description
A platform agnostic driver to interface with the BMP180 (pressure sensor) using the embedded-hal and embedded-hal-async traits.
§Features
The following features are available:
blocking: enables blocking functionality.async: enables asynchronous functionality.log: enables debug logging using thelogcrate.defmt: enables debug logging using thedefmtcrate.impl-debug: implementscore::fmt::Debugfor structs and enums.impl-defmt-format: implementsdefmt::Formatfor structs and enums.fuzz: enables thefuzzmodule 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 useembedded-hal-busorembassy-embedded-halto share the I2C bus.
Modules§
- asynch
- Device definition and implementation.
Structs§
- Calibration
- Calibration data according to the BMP180 datasheet.
Enums§
- Address
- BMP180 device I2C address.
- BMP180
Error - Error type for
BMP180devices. - Id
- Valid
BMP180device ID. - Mode
- Operating mode.