Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
baro_board_ms5611_spi.c File Reference

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

#include "modules/sensors/baro.h"
#include "peripherals/ms5611_spi.h"
#include "mcu_periph/sys_time.h"
#include "led.h"
#include "std.h"
#include "modules/core/abi.h"
#include "mcu_periph/uart.h"
#include "pprzlink/messages.h"
#include "modules/datalink/downlink.h"
+ Include dependency graph for baro_board_ms5611_spi.c:

Go to the source code of this file.

Macros

#define BB_MS5611_TYPE_MS5607   FALSE
 set to TRUE if baro is actually a MS5607 More...
 

Functions

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

Variables

struct Ms5611_Spi bb_ms5611
 

Detailed Description

Driver for onboard MS5611 baro via SPI.

Definition in file baro_board_ms5611_spi.c.

Macro Definition Documentation

◆ BB_MS5611_TYPE_MS5607

#define BB_MS5611_TYPE_MS5607   FALSE

set to TRUE if baro is actually a MS5607

Definition at line 51 of file baro_board_ms5611_spi.c.

Function Documentation

◆ baro_event()

◆ baro_init()

void baro_init ( void  )

Definition at line 56 of file baro_board_ms5611_spi.c.

References bb_ms5611, BB_MS5611_TYPE_MS5607, LED_OFF, and ms5611_spi_init().

+ Here is the call graph for this function:

◆ baro_periodic()

void baro_periodic ( void  )

Definition at line 65 of file baro_board_ms5611_spi.c.

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

+ Here is the call graph for this function:

Variable Documentation

◆ bb_ms5611

struct Ms5611_Spi bb_ms5611

Definition at line 1 of file baro_board_ms5611_spi.c.

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