libDaisy
Hardware Library for Daisy
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
dps310.h File Reference

Go to the source code of this file.

Classes

class  daisy::Dps310I2CTransport
 
struct  daisy::Dps310I2CTransport::Config
 
class  daisy::Dps310SpiTransport
 
struct  daisy::Dps310SpiTransport::Config
 
class  daisy::Dps310< Transport >
 Device support for DPS310 Barometric Pressure and Altitude Sensor. More...
 
struct  daisy::Dps310< Transport >::Config
 

Namespaces

namespace  daisy
 Hardware defines and helpers for daisy field platform.
 

Macros

#define DSY_DPS310_H
 
#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.
 

Typedefs

using daisy::Dps310I2C = Dps310<Dps310I2CTransport>
 
using daisy::Dps310Spi = Dps310<Dps310SpiTransport>
 

Macro Definition Documentation

◆ DPS310_CFGREG

#define DPS310_CFGREG   0x09

Interrupt/FIFO configuration.

◆ DPS310_I2CADDR_DEFAULT

#define DPS310_I2CADDR_DEFAULT   (0x77)

Default breakout addres.

◆ DPS310_MEASCFG

#define DPS310_MEASCFG   0x08

Sensor configuration.

◆ DPS310_PRODREVID

#define DPS310_PRODREVID   0x0D

Register that contains the part ID.

◆ DPS310_PRSB2

#define DPS310_PRSB2   0x00

Highest byte of pressure data.

◆ DPS310_PRSCFG

#define DPS310_PRSCFG   0x06

Pressure configuration.

◆ DPS310_RESET

#define DPS310_RESET   0x0C

Soft reset.

◆ DPS310_TMPB2

#define DPS310_TMPB2   0x03

Highest byte of temperature data.

◆ DPS310_TMPCFG

#define DPS310_TMPCFG   0x07

Temperature configuration.

◆ DPS310_TMPCOEFSRCE

#define DPS310_TMPCOEFSRCE   0x28

Temperature calibration src.

◆ DSY_DPS310_H

#define DSY_DPS310_H