Paparazzi UAS  v4.0.4_stable-3-gf39211a
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
baro_ms5611_i2c.h File Reference
#include "std.h"
+ Include dependency graph for baro_ms5611_i2c.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MS5611_SOFT_RESET   0x1E
 
#define MS5611_PROM_READ   0xA0
 
#define MS5611_START_CONV_D1   0x48
 
#define MS5611_START_CONV_D2   0x58
 
#define MS5611_ADC_READ   0x00
 
#define PROM_NB   8
 

Enumerations

enum  ms5611_stat {
  MS5611_UNINIT, MS5611_RESET, MS5611_RESET_OK, MS5611_PROM,
  MS5611_IDLE, MS5611_CONV_D1, MS5611_CONV_D1_OK, MS5611_ADC_D1,
  MS5611_CONV_D2, MS5611_CONV_D2_OK, MS5611_ADC_D2
}
 

Functions

void baro_ms5611_init (void)
 
void baro_ms5611_periodic (void)
 
void baro_ms5611_d1 (void)
 
void baro_ms5611_d2 (void)
 
void baro_ms5611_event (void)
 

Macro Definition Documentation

#define MS5611_ADC_READ   0x00

Definition at line 11 of file baro_ms5611_i2c.h.

Referenced by baro_ms5611_d1(), and baro_ms5611_d2().

#define MS5611_PROM_READ   0xA0

Definition at line 8 of file baro_ms5611_i2c.h.

Referenced by baro_ms5611_event(), and baro_ms5611_periodic().

#define MS5611_SOFT_RESET   0x1E

Definition at line 7 of file baro_ms5611_i2c.h.

Referenced by baro_ms5611_periodic().

#define MS5611_START_CONV_D1   0x48

Definition at line 9 of file baro_ms5611_i2c.h.

Referenced by baro_ms5611_periodic().

#define MS5611_START_CONV_D2   0x58

Definition at line 10 of file baro_ms5611_i2c.h.

Referenced by baro_ms5611_event().

#define PROM_NB   8

Definition at line 13 of file baro_ms5611_i2c.h.

Referenced by baro_ms5611_event().

Enumeration Type Documentation

Enumerator
MS5611_UNINIT 
MS5611_RESET 
MS5611_RESET_OK 
MS5611_PROM 
MS5611_IDLE 
MS5611_CONV_D1 
MS5611_CONV_D1_OK 
MS5611_ADC_D1 
MS5611_CONV_D2 
MS5611_CONV_D2_OK 
MS5611_ADC_D2 

Definition at line 15 of file baro_ms5611_i2c.h.

Function Documentation

void baro_ms5611_init ( void  )

Definition at line 80 of file baro_ms5611_i2c.c.

References ms5611_status, MS5611_UNINIT, and prom_cnt.

Referenced by baro_ms5611_event().

+ Here is the caller graph for this function: