Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
baro_dps310.c File Reference

Infineon DPS310 I2C sensor interface. More...

#include "baro_dps310.h"
#include "modules/core/abi.h"
+ Include dependency graph for baro_dps310.c:

Go to the source code of this file.

Macros

#define DPS310_SLAVE_ADDR   DPS310_I2C_ADDR
 default slave address
 

Functions

void baro_dps310_init (void)
 
void baro_dps310_periodic (void)
 
void baro_dps310_event (void)
 

Variables

struct Dps310_I2c baro_dps310
 

Detailed Description

Infineon DPS310 I2C sensor interface.

This code reads the values for pressure and temperature from the Infineon DPS310 sensor over I2C.

Definition in file baro_dps310.c.

Macro Definition Documentation

◆ DPS310_SLAVE_ADDR

#define DPS310_SLAVE_ADDR   DPS310_I2C_ADDR

default slave address

Definition at line 40 of file baro_dps310.c.

Function Documentation

◆ baro_dps310_event()

◆ baro_dps310_init()

void baro_dps310_init ( void  )

Definition at line 45 of file baro_dps310.c.

References baro_dps310, dps310_i2c_init(), DPS310_SLAVE_ADDR, and foo.

+ Here is the call graph for this function:

◆ baro_dps310_periodic()

void baro_dps310_periodic ( void  )

Definition at line 50 of file baro_dps310.c.

References baro_dps310, and dps310_i2c_periodic().

+ Here is the call graph for this function:

Variable Documentation

◆ baro_dps310

struct Dps310_I2c baro_dps310

Definition at line 43 of file baro_dps310.c.

Referenced by baro_dps310_event(), baro_dps310_init(), and baro_dps310_periodic().