Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
baro_ms5611_i2c.h File Reference
#include "std.h"
#include "peripherals/ms5611_i2c.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 BARO_MS5611_DT   BARO_MS5611_READ_PERIOD
 new measurement with every baro_ms5611_read() call More...
 
#define BARO_MS5611_R   20
 
#define BARO_MS5611_SIGMA2   1
 
#define baro_ms5611_periodic()   { baro_ms5611_read(); baro_ms5611_periodic_check(); }
 

Functions

void baro_ms5611_init (void)
 
void baro_ms5611_read (void)
 trigger new measurement or initialize if needed More...
 
void baro_ms5611_periodic_check (void)
 
void baro_ms5611_event (void)
 
void baro_ms5611_send_coeff (void)
 

Variables

float baro_ms5611_r
 
float baro_ms5611_sigma2
 
float baro_ms5611_alt
 
bool baro_ms5611_alt_valid
 
bool baro_ms5611_enabled
 
struct Ms5611_I2c baro_ms5611
 

Macro Definition Documentation

◆ BARO_MS5611_DT

#define BARO_MS5611_DT   BARO_MS5611_READ_PERIOD

new measurement with every baro_ms5611_read() call

Definition at line 8 of file baro_ms5611_i2c.h.

◆ baro_ms5611_periodic

#define baro_ms5611_periodic ( )    { baro_ms5611_read(); baro_ms5611_periodic_check(); }

Definition at line 26 of file baro_ms5611_i2c.h.

◆ BARO_MS5611_R

#define BARO_MS5611_R   20

Definition at line 9 of file baro_ms5611_i2c.h.

◆ BARO_MS5611_SIGMA2

#define BARO_MS5611_SIGMA2   1

Definition at line 10 of file baro_ms5611_i2c.h.

Function Documentation

◆ baro_ms5611_event()

void baro_ms5611_event ( void  )

Definition at line 96 of file baro_ms5611_i2c.c.

◆ baro_ms5611_init()

void baro_ms5611_init ( void  )

Definition at line 66 of file baro_ms5611_i2c.c.

◆ baro_ms5611_periodic_check()

void baro_ms5611_periodic_check ( void  )

Definition at line 77 of file baro_ms5611_i2c.c.

◆ baro_ms5611_read()

void baro_ms5611_read ( void  )

trigger new measurement or initialize if needed

Definition at line 89 of file baro_ms5611_i2c.c.

◆ baro_ms5611_send_coeff()

void baro_ms5611_send_coeff ( void  )

Definition at line 121 of file baro_ms5611_i2c.c.

Variable Documentation

◆ baro_ms5611

struct Ms5611_I2c baro_ms5611
extern

Definition at line 1 of file baro_ms5611_i2c.c.

◆ baro_ms5611_alt

float baro_ms5611_alt
extern

Definition at line 58 of file baro_ms5611_i2c.c.

◆ baro_ms5611_alt_valid

bool baro_ms5611_alt_valid
extern

Definition at line 59 of file baro_ms5611_i2c.c.

◆ baro_ms5611_enabled

bool baro_ms5611_enabled
extern

Definition at line 60 of file baro_ms5611_i2c.c.

◆ baro_ms5611_r

float baro_ms5611_r
extern

Definition at line 62 of file baro_ms5611_i2c.c.

◆ baro_ms5611_sigma2

float baro_ms5611_sigma2
extern

Definition at line 63 of file baro_ms5611_i2c.c.