dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages

Hardware functions to deal with the altitude pressure sensor. More...

Files

file  pios_ms5611.c
 MS5611 Pressure Sensor Routines.
 
file  pios_ms5611_spi.c
 MS5611 Pressure Sensor Routines.
 
file  pios_ms5611.h
 MS5611 functions header.
 
file  pios_ms5611_priv.h
 MS5611 functions header.
 
file  pios_ms5611_spi.h
 MS5611 functions header.
 

Data Structures

struct  pios_ms5611_cfg
 Configuration structure for the MS5611 driver. More...
 

Enumerations

enum  pios_ms5611_osr {
  MS5611_OSR_256 = 0, MS5611_OSR_512 = 2, MS5611_OSR_1024 = 4, MS5611_OSR_2048 = 6,
  MS5611_OSR_4096 = 8
}
 The valid oversampling rates. More...
 

Functions

int32_t PIOS_MS5611_Init (const struct pios_ms5611_cfg *cfg, pios_i2c_t i2c_device)
 
int32_t PIOS_MS5611_SPI_Init (pios_spi_t spi_id, uint32_t slave_num, const struct pios_ms5611_cfg *cfg)
 

Detailed Description

Hardware functions to deal with the altitude pressure sensor.

Enumeration Type Documentation

The valid oversampling rates.

Enumerator
MS5611_OSR_256 
MS5611_OSR_512 
MS5611_OSR_1024 
MS5611_OSR_2048 
MS5611_OSR_4096 

Definition at line 34 of file pios_ms5611_priv.h.

Function Documentation

int32_t PIOS_MS5611_Init ( const struct pios_ms5611_cfg cfg,
pios_i2c_t  i2c_device 
)
int32_t PIOS_MS5611_SPI_Init ( pios_spi_t  spi_id,
uint32_t  slave_num,
const struct pios_ms5611_cfg cfg 
)