Paparazzi UAS
v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
|
Register definitions for MS5611 barometer. More...
Go to the source code of this file.
Register definitions for MS5611 barometer.
Definition in file ms5611_regs.h.
#define MS5611_ADC_READ 0x00 |
Definition at line 66 of file ms5611_regs.h.
Referenced by ms5611_i2c_periodic_check(), and ms5611_spi_periodic_check().
#define MS5611_I2C_SLAVE_ADDR 0xEE |
default i2c address when CSB is set to GND addr is 0xEE when CSB is set to VCC addr is 0xEC
Definition at line 34 of file ms5611_regs.h.
#define MS5611_I2C_SLAVE_ADDR_ALT 0xEC |
Definition at line 35 of file ms5611_regs.h.
#define MS5611_OSR1024 0x04 |
Definition at line 43 of file ms5611_regs.h.
#define MS5611_OSR2048 0x06 |
Definition at line 44 of file ms5611_regs.h.
#define MS5611_OSR256 0x02 |
Definition at line 41 of file ms5611_regs.h.
#define MS5611_OSR4096 0x08 |
Definition at line 45 of file ms5611_regs.h.
#define MS5611_OSR512 0x02 |
Definition at line 42 of file ms5611_regs.h.
#define MS5611_PROM_READ 0xA0 |
Definition at line 68 of file ms5611_regs.h.
Referenced by ms5611_i2c_event(), ms5611_i2c_periodic_check(), ms5611_spi_event(), and ms5611_spi_periodic_check().
#define MS5611_REG_D1 | ( | _osr | ) | (MS5611_REG_D1R | _osr) |
Definition at line 49 of file ms5611_regs.h.
#define MS5611_REG_D1OSR1024 MS5611_REG_D1(MS5611_OSR1024) |
Definition at line 52 of file ms5611_regs.h.
#define MS5611_REG_D1OSR2048 MS5611_REG_D1(MS5611_OSR2048) |
Definition at line 53 of file ms5611_regs.h.
#define MS5611_REG_D1OSR256 MS5611_REG_D1(MS5611_ORS256) |
Definition at line 50 of file ms5611_regs.h.
#define MS5611_REG_D1OSR4096 MS5611_REG_D1(MS5611_OSR4096) |
Definition at line 54 of file ms5611_regs.h.
#define MS5611_REG_D1OSR512 MS5611_REG_D1(MS5611_OSR512) |
Definition at line 51 of file ms5611_regs.h.
#define MS5611_REG_D1R 0x40 |
Definition at line 48 of file ms5611_regs.h.
#define MS5611_REG_D2 | ( | _osr | ) | (MS5611_REG_D2R | _osr) |
Definition at line 58 of file ms5611_regs.h.
#define MS5611_REG_D2OSR1024 MS5611_REG_D2(MS5611_OSR1024) |
Definition at line 61 of file ms5611_regs.h.
#define MS5611_REG_D2OSR2048 MS5611_REG_D2(MS5611_OSR2048) |
Definition at line 62 of file ms5611_regs.h.
#define MS5611_REG_D2OSR256 MS5611_REG_D2(MS5611_ORS256) |
Definition at line 59 of file ms5611_regs.h.
#define MS5611_REG_D2OSR4096 MS5611_REG_D2(MS5611_OSR4096) |
Definition at line 63 of file ms5611_regs.h.
#define MS5611_REG_D2OSR512 MS5611_REG_D2(MS5611_OSR512) |
Definition at line 60 of file ms5611_regs.h.
#define MS5611_REG_D2R 0x50 |
Definition at line 57 of file ms5611_regs.h.
#define MS5611_SOFT_RESET 0x1E |
Definition at line 67 of file ms5611_regs.h.
Referenced by ms5611_i2c_start_configure(), and ms5611_spi_start_configure().
#define MS5611_START_CONV_D1 MS5611_REG_D1OSR4096 /* we use OSR=4096 for maximum resolution */ |
Definition at line 69 of file ms5611_regs.h.
Referenced by ms5611_i2c_start_conversion(), and ms5611_spi_start_conversion().
#define MS5611_START_CONV_D2 MS5611_REG_D2OSR4096 /* we use OSR=4096 for maximum resolution */ |
Definition at line 70 of file ms5611_regs.h.
Referenced by ms5611_i2c_event(), and ms5611_spi_event().
#define PROM_NB 8 |
Definition at line 38 of file ms5611_regs.h.
Referenced by ms5611_i2c_event(), and ms5611_spi_event().