Paparazzi UAS  v5.15_devel-81-gd13dafb
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
baro_ms5611_i2c.c File Reference

Measurement Specialties (Intersema) MS5611-01BA pressure/temperature sensor interface for I2C. More...

#include "modules/sensors/baro_ms5611_i2c.h"
#include "math/pprz_isa.h"
#include "mcu_periph/sys_time.h"
#include "subsystems/abi.h"
#include "mcu_periph/uart.h"
#include "pprzlink/messages.h"
#include "subsystems/datalink/downlink.h"
+ Include dependency graph for baro_ms5611_i2c.c:

Go to the source code of this file.

Macros

#define MS5611_I2C_DEV   i2c0
 
#define MS5611_SLAVE_ADDR   0xEE
 

Functions

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

Variables

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

Detailed Description

Measurement Specialties (Intersema) MS5611-01BA pressure/temperature sensor interface for I2C.

Definition in file baro_ms5611_i2c.c.

Macro Definition Documentation

#define MS5611_I2C_DEV   i2c0

Definition at line 41 of file baro_ms5611_i2c.c.

Referenced by baro_ms5611_init().

#define MS5611_SLAVE_ADDR   0xEE

Definition at line 46 of file baro_ms5611_i2c.c.

Referenced by baro_ms5611_init().

Function Documentation

void baro_ms5611_event ( void  )

Definition at line 90 of file baro_ms5611_i2c.c.

void baro_ms5611_init ( void  )

Definition at line 60 of file baro_ms5611_i2c.c.

void baro_ms5611_periodic_check ( void  )

Definition at line 71 of file baro_ms5611_i2c.c.

void baro_ms5611_read ( void  )

trigger new measurement or initialize if needed

Definition at line 83 of file baro_ms5611_i2c.c.

void baro_ms5611_send_coeff ( void  )

Definition at line 115 of file baro_ms5611_i2c.c.

Referenced by baro_ms5611_periodic_check().

+ Here is the caller graph for this function:

Variable Documentation

float baro_ms5611_alt

Definition at line 52 of file baro_ms5611_i2c.c.

Referenced by baro_ms5611_event().

bool baro_ms5611_alt_valid

Definition at line 53 of file baro_ms5611_i2c.c.

Referenced by baro_ms5611_event(), and baro_ms5611_init().

bool baro_ms5611_enabled

Definition at line 54 of file baro_ms5611_i2c.c.

Referenced by alt_kalman(), and baro_ms5611_init().

float baro_ms5611_r

Definition at line 56 of file baro_ms5611_i2c.c.

Referenced by alt_kalman(), and baro_ms5611_init().

float baro_ms5611_sigma2

Definition at line 57 of file baro_ms5611_i2c.c.

Referenced by alt_kalman(), and baro_ms5611_init().

float fbaroms

Definition at line 51 of file baro_ms5611_i2c.c.

Referenced by baro_event(), and baro_ms5611_event().

float ftempms

Definition at line 51 of file baro_ms5611_i2c.c.