APM:Libraries
|
#include <assert.h>
#include <utility>
#include <AP_Math/AP_Math.h>
#include <AP_HAL/AP_HAL.h>
#include "AP_Compass_AK8963.h"
#include <AP_InertialSensor/AP_InertialSensor_Invensense.h>
Go to the source code of this file.
Classes | |
struct | sample_regs |
Macros | |
#define | AK8963_I2C_ADDR 0x0c |
#define | AK8963_WIA 0x00 |
#define | AK8963_Device_ID 0x48 |
#define | AK8963_HXL 0x03 |
#define | AK8963_CNTL1 0x0A |
#define | AK8963_CONTINUOUS_MODE1 0x02 |
#define | AK8963_CONTINUOUS_MODE2 0x06 |
#define | AK8963_SELFTEST_MODE 0x08 |
#define | AK8963_POWERDOWN_MODE 0x00 |
#define | AK8963_FUSE_MODE 0x0f |
#define | AK8963_16BIT_ADC 0x10 |
#define | AK8963_14BIT_ADC 0x00 |
#define | AK8963_CNTL2 0x0B |
#define | AK8963_RESET 0x01 |
#define | AK8963_ASAX 0x10 |
#define | AK8963_MILLIGAUSS_SCALE 10.0f |
Variables | |
const AP_HAL::HAL & | hal |
#define AK8963_14BIT_ADC 0x00 |
Definition at line 39 of file AP_Compass_AK8963.cpp.
#define AK8963_16BIT_ADC 0x10 |
Definition at line 38 of file AP_Compass_AK8963.cpp.
Referenced by AP_Compass_AK8963::_calibrate(), and AP_Compass_AK8963::_setup_mode().
#define AK8963_ASAX 0x10 |
Definition at line 44 of file AP_Compass_AK8963.cpp.
Referenced by AP_Compass_AK8963::_calibrate().
#define AK8963_CNTL1 0x0A |
Definition at line 32 of file AP_Compass_AK8963.cpp.
Referenced by AP_Compass_AK8963::_calibrate(), and AP_Compass_AK8963::_setup_mode().
#define AK8963_CNTL2 0x0B |
Definition at line 41 of file AP_Compass_AK8963.cpp.
Referenced by AP_Compass_AK8963::_reset().
#define AK8963_CONTINUOUS_MODE1 0x02 |
Definition at line 33 of file AP_Compass_AK8963.cpp.
#define AK8963_CONTINUOUS_MODE2 0x06 |
Definition at line 34 of file AP_Compass_AK8963.cpp.
Referenced by AP_Compass_AK8963::_setup_mode().
#define AK8963_Device_ID 0x48 |
Definition at line 27 of file AP_Compass_AK8963.cpp.
Referenced by AP_Compass_AK8963::_check_id().
#define AK8963_FUSE_MODE 0x0f |
Definition at line 37 of file AP_Compass_AK8963.cpp.
Referenced by AP_Compass_AK8963::_calibrate().
#define AK8963_HXL 0x03 |
Definition at line 29 of file AP_Compass_AK8963.cpp.
Referenced by AP_Compass_AK8963::_update(), AP_AK8963_BusDriver_Auxiliary::block_read(), and AP_AK8963_BusDriver_Auxiliary::start_measurements().
#define AK8963_I2C_ADDR 0x0c |
Definition at line 24 of file AP_Compass_AK8963.cpp.
Referenced by AP_Compass_AK8963::probe_mpu9250().
#define AK8963_MILLIGAUSS_SCALE 10.0f |
Definition at line 46 of file AP_Compass_AK8963.cpp.
Referenced by AP_Compass_AK8963::_update().
#define AK8963_POWERDOWN_MODE 0x00 |
Definition at line 36 of file AP_Compass_AK8963.cpp.
#define AK8963_RESET 0x01 |
Definition at line 42 of file AP_Compass_AK8963.cpp.
Referenced by AP_Compass_AK8963::_reset().
#define AK8963_SELFTEST_MODE 0x08 |
Definition at line 35 of file AP_Compass_AK8963.cpp.
#define AK8963_WIA 0x00 |
Definition at line 26 of file AP_Compass_AK8963.cpp.
Referenced by AP_Compass_AK8963::_check_id().
const AP_HAL::HAL& hal |
Definition at line 14 of file AC_PID_test.cpp.