|
Adafruit DPS310 Arduino Library
|
#include <Adafruit_BusIO_Register.h>#include <Adafruit_I2CDevice.h>#include <Adafruit_SPIDevice.h>#include <Adafruit_Sensor.h>#include <Wire.h>Go to the source code of this file.
Classes | |
| class | Adafruit_DPS310_Temp |
| class | Adafruit_DPS310_Pressure |
| class | Adafruit_DPS310 |
Macros | |
| #define | DPS310_I2CADDR_DEFAULT (0x77) |
| Default breakout addres. | |
| #define | DPS310_PRSB2 0x00 |
| Highest byte of pressure data. | |
| #define | DPS310_TMPB2 0x03 |
| Highest byte of temperature data. | |
| #define | DPS310_PRSCFG 0x06 |
| Pressure configuration. | |
| #define | DPS310_TMPCFG 0x07 |
| Temperature configuration. | |
| #define | DPS310_MEASCFG 0x08 |
| Sensor configuration. | |
| #define | DPS310_CFGREG 0x09 |
| Interrupt/FIFO configuration. | |
| #define | DPS310_RESET 0x0C |
| Soft reset. | |
| #define | DPS310_PRODREVID 0x0D |
| Register that contains the part ID. | |
| #define | DPS310_TMPCOEFSRCE 0x28 |
| Temperature calibration src. | |
Enumerations | |
| enum | dps310_rate_t { DPS310_1HZ, DPS310_2HZ, DPS310_4HZ, DPS310_8HZ, DPS310_16HZ, DPS310_32HZ, DPS310_64HZ, DPS310_128HZ } |
| enum | dps310_oversample_t { DPS310_1SAMPLE, DPS310_2SAMPLES, DPS310_4SAMPLES, DPS310_8SAMPLES, DPS310_16SAMPLES, DPS310_32SAMPLES, DPS310_64SAMPLES, DPS310_128SAMPLES } |
| enum | dps310_mode_t { DPS310_IDLE = 0b000, DPS310_ONE_PRESSURE = 0b001, DPS310_ONE_TEMPERATURE = 0b010, DPS310_CONT_PRESSURE = 0b101, DPS310_CONT_TEMP = 0b110, DPS310_CONT_PRESTEMP = 0b111 } |
Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!
| enum dps310_rate_t |
| enum dps310_oversample_t |
| enum dps310_mode_t |
The oversample rate ranges
1.8.13