Paparazzi UAS  v5.2.2_stable-0-gd6b9f29
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
baro_board_ms5611_i2c.c File Reference

Driver for onboard MS5611 baro via I2C. More...

#include "subsystems/sensors/baro.h"
#include "peripherals/ms5611_i2c.h"
#include "mcu_periph/sys_time.h"
#include "led.h"
#include "std.h"
#include "subsystems/abi.h"
#include "mcu_periph/uart.h"
#include "messages.h"
#include "subsystems/datalink/downlink.h"
+ Include dependency graph for baro_board_ms5611_i2c.c:

Go to the source code of this file.

Macros

#define BB_MS5611_SLAVE_ADDR   0xEE
 

Functions

void baro_init (void)
 
void baro_periodic (void)
 
void baro_event (void)
 

Variables

struct Ms5611_I2c bb_ms5611
 

Detailed Description

Driver for onboard MS5611 baro via I2C.

Definition in file baro_board_ms5611_i2c.c.

Macro Definition Documentation

#define BB_MS5611_SLAVE_ADDR   0xEE

Definition at line 56 of file baro_board_ms5611_i2c.c.

Referenced by baro_init().

Function Documentation

void baro_event ( void  )

Definition at line 92 of file baro_board_ms5611_i2c.c.

void baro_init ( void  )

Definition at line 63 of file baro_board_ms5611_i2c.c.

References bb_ms5611, BB_MS5611_SLAVE_ADDR, LED_OFF, and ms5611_i2c_init().

+ Here is the call graph for this function:

void baro_periodic ( void  )

Definition at line 71 of file baro_board_ms5611_i2c.c.

References bb_ms5611, Ms5611Data::c, Ms5611_I2c::data, DefaultChannel, DefaultDevice, Ms5611_I2c::initialized, ms5611_i2c_periodic(), and sys_time::nb_sec.

+ Here is the call graph for this function:

Variable Documentation

struct Ms5611_I2c bb_ms5611

Definition at line 60 of file baro_board_ms5611_i2c.c.

Referenced by baro_event(), baro_init(), and baro_periodic().