ConstThe address a BMP280 answers on with its SDO pin low.
The address it answers on with SDO high.
How many bytes the calibration block holds.
The value its chip-ID register reads, which confirms the part.
How many bytes one measurement burst holds.
The registers a driver reads and writes.
The first of the 24 calibration bytes.
The chip-ID register.
The configuration register.
The measurement-control register.
The first of the six data bytes.
The reset register.
The status register.
The word written to the reset register to restart the part.
The raw output a channel reports when its measurement is switched off.
Reads the factory calibration out of the registers, once at start-up.
The 24-byte calibration block.
The calibration, to reuse for every measurement.
Assembles the config register value.
The standby time, filter, and interface settings.
The register value to write.
Parses a config register value.
The register value, as read from the device.
The decoded settings.
Assembles the ctrl_meas register value.
The oversampling codes and power mode to encode.
The register value to write.
Parses a ctrl_meas register value.
The register value, as read from the device.
The decoded settings.
Reports whether a status register says the calibration is being copied.
The status register.
Whether the image registers are being reloaded.
Builds the six data-register bytes a part reports for two raw outputs.
The inverse of parseMeasurement, so a node can be written and tested against what a sensor sends without one attached.
The 20-bit uncompensated pressure.
The 20-bit uncompensated temperature.
The six bytes in read order.
Reports whether a status register says a conversion is running.
The status register.
Whether a measurement is in progress.
Returns how many samples an oversampling code averages.
The oversampling code, 0 to 7.
The sample count, or 0 when the measurement is switched off.
Splits a six-byte data read into its two uncompensated outputs.
The six data registers in read order.
The raw pressure and temperature, before compensation.
Reports whether a raw pressure says the measurement is switched off.
The 20-bit uncompensated pressure.
Whether the channel's oversampling is set to skip.
Returns the standby time a standby code selects in normal mode.
The standby code, 0 to 7.
The standby time in microseconds.
Reports whether a raw temperature says the measurement is switched off.
The 20-bit uncompensated temperature.
Whether the channel's oversampling is set to skip.
A Bosch BMP280 pressure and temperature sensor, the BME280 without humidity.