Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
baro_board.c File Reference
#include "std.h"
#include "modules/sensors/baro.h"
#include "peripherals/bmp085.h"
#include "peripherals/bmp085_regs.h"
#include <libopencm3/stm32/gpio.h>
#include "modules/core/abi.h"
#include "led.h"
Include dependency graph for baro_board.c:

Go to the source code of this file.

Functions

static bool baro_eoc (void)
void baro_init (void)
void baro_periodic (void)
void baro_event (void)

Variables

struct Bmp085 baro_bmp085

Function Documentation

◆ baro_eoc()

bool baro_eoc ( void )
static

Definition at line 39 of file baro_board.c.

References GPIO0, gpio_get(), and GPIOB.

Referenced by baro_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ baro_event()

void baro_event ( void )

Definition at line 72 of file baro_board.c.

References baro_bmp085, BARO_BOARD_SENDER_ID, bmp085_event(), get_sys_time_usec(), LED_TOGGLE, and Bmp085::pressure.

Here is the call graph for this function:

◆ baro_init()

void baro_init ( void )

Definition at line 44 of file baro_board.c.

References baro_bmp085, baro_eoc(), bmp085_init(), BMP085_SLAVE_ADDR, GPIO0, gpio_clear(), GPIOB, and LED_OFF.

Here is the call graph for this function:

◆ baro_periodic()

void baro_periodic ( void )

Definition at line 61 of file baro_board.c.

References baro_bmp085, bmp085_periodic(), and bmp085_read_eeprom_calib().

Here is the call graph for this function:

Variable Documentation

◆ baro_bmp085

struct Bmp085 baro_bmp085

Definition at line 37 of file baro_board.c.

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