APM:Libraries
Macros | Variables
AP_Baro_BMP280.cpp File Reference
#include "AP_Baro_BMP280.h"
#include <utility>
Include dependency graph for AP_Baro_BMP280.cpp:

Go to the source code of this file.

Macros

#define BMP280_MODE_SLEEP   0
 
#define BMP280_MODE_FORCED   1
 
#define BMP280_MODE_NORMAL   3
 
#define BMP280_MODE   BMP280_MODE_NORMAL
 
#define BMP280_OVERSAMPLING_1   1
 
#define BMP280_OVERSAMPLING_2   2
 
#define BMP280_OVERSAMPLING_4   3
 
#define BMP280_OVERSAMPLING_8   4
 
#define BMP280_OVERSAMPLING_16   5
 
#define BMP280_OVERSAMPLING_P   BMP280_OVERSAMPLING_16
 
#define BMP280_OVERSAMPLING_T   BMP280_OVERSAMPLING_2
 
#define BMP280_FILTER_COEFFICIENT   2
 
#define BMP280_ID   0x58
 
#define BMP280_REG_CALIB   0x88
 
#define BMP280_REG_ID   0xD0
 
#define BMP280_REG_RESET   0xE0
 
#define BMP280_REG_STATUS   0xF3
 
#define BMP280_REG_CTRL_MEAS   0xF4
 
#define BMP280_REG_CONFIG   0xF5
 
#define BMP280_REG_DATA   0xF7
 

Variables

const AP_HAL::HALhal
 

Macro Definition Documentation

◆ BMP280_FILTER_COEFFICIENT

#define BMP280_FILTER_COEFFICIENT   2

Definition at line 34 of file AP_Baro_BMP280.cpp.

Referenced by AP_Baro_BMP280::_init().

◆ BMP280_ID

#define BMP280_ID   0x58

Definition at line 36 of file AP_Baro_BMP280.cpp.

Referenced by AP_Baro_BMP280::_init().

◆ BMP280_MODE

#define BMP280_MODE   BMP280_MODE_NORMAL

Definition at line 24 of file AP_Baro_BMP280.cpp.

Referenced by AP_Baro_BMP280::_init().

◆ BMP280_MODE_FORCED

#define BMP280_MODE_FORCED   1

Definition at line 22 of file AP_Baro_BMP280.cpp.

◆ BMP280_MODE_NORMAL

#define BMP280_MODE_NORMAL   3

Definition at line 23 of file AP_Baro_BMP280.cpp.

◆ BMP280_MODE_SLEEP

#define BMP280_MODE_SLEEP   0

Definition at line 21 of file AP_Baro_BMP280.cpp.

◆ BMP280_OVERSAMPLING_1

#define BMP280_OVERSAMPLING_1   1

Definition at line 26 of file AP_Baro_BMP280.cpp.

◆ BMP280_OVERSAMPLING_16

#define BMP280_OVERSAMPLING_16   5

Definition at line 30 of file AP_Baro_BMP280.cpp.

◆ BMP280_OVERSAMPLING_2

#define BMP280_OVERSAMPLING_2   2

Definition at line 27 of file AP_Baro_BMP280.cpp.

◆ BMP280_OVERSAMPLING_4

#define BMP280_OVERSAMPLING_4   3

Definition at line 28 of file AP_Baro_BMP280.cpp.

◆ BMP280_OVERSAMPLING_8

#define BMP280_OVERSAMPLING_8   4

Definition at line 29 of file AP_Baro_BMP280.cpp.

◆ BMP280_OVERSAMPLING_P

#define BMP280_OVERSAMPLING_P   BMP280_OVERSAMPLING_16

Definition at line 31 of file AP_Baro_BMP280.cpp.

Referenced by AP_Baro_BMP280::_init().

◆ BMP280_OVERSAMPLING_T

#define BMP280_OVERSAMPLING_T   BMP280_OVERSAMPLING_2

Definition at line 32 of file AP_Baro_BMP280.cpp.

Referenced by AP_Baro_BMP280::_init().

◆ BMP280_REG_CALIB

#define BMP280_REG_CALIB   0x88

Definition at line 38 of file AP_Baro_BMP280.cpp.

Referenced by AP_Baro_BMP280::_init().

◆ BMP280_REG_CONFIG

#define BMP280_REG_CONFIG   0xF5

Definition at line 43 of file AP_Baro_BMP280.cpp.

Referenced by AP_Baro_BMP280::_init().

◆ BMP280_REG_CTRL_MEAS

#define BMP280_REG_CTRL_MEAS   0xF4

Definition at line 42 of file AP_Baro_BMP280.cpp.

Referenced by AP_Baro_BMP280::_init().

◆ BMP280_REG_DATA

#define BMP280_REG_DATA   0xF7

Definition at line 44 of file AP_Baro_BMP280.cpp.

Referenced by AP_Baro_BMP280::_timer().

◆ BMP280_REG_ID

#define BMP280_REG_ID   0xD0

Definition at line 39 of file AP_Baro_BMP280.cpp.

Referenced by AP_Baro_BMP280::_init().

◆ BMP280_REG_RESET

#define BMP280_REG_RESET   0xE0

Definition at line 40 of file AP_Baro_BMP280.cpp.

◆ BMP280_REG_STATUS

#define BMP280_REG_STATUS   0xF3

Definition at line 41 of file AP_Baro_BMP280.cpp.

Variable Documentation

◆ hal

const AP_HAL::HAL& hal

Definition at line 14 of file AC_PID_test.cpp.