#include <modm/driver/pressure/bmp085.hpp>
|
enum | Mode : uint8_t {
Mask = (0x03 << 6),
UltraLowPower = (0x00 << 6),
Standard = (0x01 << 6),
HighResolution = (0x02 << 6),
UltraHighResolution = (0x03 << 6)
} |
|
|
| Bmp085 (DataBase &data, uint8_t address=0x77) |
|
bool | initialize (Mode mode=Mode::Standard) |
| Reads out and stores the calibration bytes.
|
|
bool | readout () |
| Do a readout sequence to convert and read temperature and then pressure from sensor.
|
|
void | setMode (Mode mode) |
| Configures the sensor.
|
|
DataBase & | getData () |
| Get the data object for this sensor.
|
|
template<typename I2cMaster>
class modm::bmp085< I2cMaster >
- Author
- Niklas Hauser
-
Sascha Schade
- Template Parameters
-
template<typename I2cMaster >
- Parameters
-
data | pointer to buffer of the internal data of type Data |
address | address defaults to 0x77 |
The documentation for this class was generated from the following file: