APM:Libraries
Macros | Variables
AP_Baro_ICM20789.cpp File Reference
#include <AP_HAL/AP_HAL.h>
#include <AP_HAL/I2CDevice.h>
#include <utility>
#include <AP_Common/AP_Common.h>
#include <AP_Math/AP_Math.h>
#include <AP_BoardConfig/AP_BoardConfig.h>
#include "AP_Baro_ICM20789.h"
#include <stdio.h>
#include <DataFlash/DataFlash.h>
#include <AP_InertialSensor/AP_InertialSensor_Invensense_registers.h>
Include dependency graph for AP_Baro_ICM20789.cpp:

Go to the source code of this file.

Macros

#define CMD_READ_PT_MODE_1   0x401A
 
#define CMD_READ_PT_MODE_3   0x5059
 
#define CMD_READ_TP_MODE_1   0x609C
 
#define CMD_READ_TP_MODE_3   0x70DF
 
#define CONVERSION_INTERVAL_MODE_1   2000
 
#define CONVERSION_INTERVAL_MODE_3   20000
 
#define CMD_READ_PT   CMD_READ_PT_MODE_3
 
#define CONVERSION_INTERVAL   CONVERSION_INTERVAL_MODE_3
 
#define CMD_SOFT_RESET   0x805D
 
#define CMD_READ_ID   0xEFC8
 
#define BARO_ICM20789_DEBUG   0
 
#define debug(fmt, args...)
 

Variables

const AP_HAL::HALhal
 

Macro Definition Documentation

◆ BARO_ICM20789_DEBUG

#define BARO_ICM20789_DEBUG   0

Definition at line 57 of file AP_Baro_ICM20789.cpp.

◆ CMD_READ_ID

#define CMD_READ_ID   0xEFC8

Definition at line 55 of file AP_Baro_ICM20789.cpp.

◆ CMD_READ_PT

#define CMD_READ_PT   CMD_READ_PT_MODE_3

Definition at line 51 of file AP_Baro_ICM20789.cpp.

Referenced by AP_Baro_ICM20789::init(), and AP_Baro_ICM20789::timer().

◆ CMD_READ_PT_MODE_1

#define CMD_READ_PT_MODE_1   0x401A

Definition at line 42 of file AP_Baro_ICM20789.cpp.

◆ CMD_READ_PT_MODE_3

#define CMD_READ_PT_MODE_3   0x5059

Definition at line 43 of file AP_Baro_ICM20789.cpp.

◆ CMD_READ_TP_MODE_1

#define CMD_READ_TP_MODE_1   0x609C

Definition at line 44 of file AP_Baro_ICM20789.cpp.

◆ CMD_READ_TP_MODE_3

#define CMD_READ_TP_MODE_3   0x70DF

Definition at line 45 of file AP_Baro_ICM20789.cpp.

◆ CMD_SOFT_RESET

#define CMD_SOFT_RESET   0x805D

Definition at line 54 of file AP_Baro_ICM20789.cpp.

Referenced by AP_Baro_ICM20789::init().

◆ CONVERSION_INTERVAL

#define CONVERSION_INTERVAL   CONVERSION_INTERVAL_MODE_3

Definition at line 52 of file AP_Baro_ICM20789.cpp.

Referenced by AP_Baro_ICM20789::init(), and AP_Baro_ICM20789::timer().

◆ CONVERSION_INTERVAL_MODE_1

#define CONVERSION_INTERVAL_MODE_1   2000

Definition at line 47 of file AP_Baro_ICM20789.cpp.

◆ CONVERSION_INTERVAL_MODE_3

#define CONVERSION_INTERVAL_MODE_3   20000

Definition at line 48 of file AP_Baro_ICM20789.cpp.

◆ debug

#define debug (   fmt,
  args... 
)

Variable Documentation

◆ hal

const AP_HAL::HAL& hal

Definition at line 14 of file AC_PID_test.cpp.