APM:Libraries
|
#include "AP_Compass_AK09916.h"
#include <AP_HAL/AP_HAL.h>
#include <utility>
#include <AP_Math/AP_Math.h>
#include <stdio.h>
Go to the source code of this file.
Macros | |
#define | REG_COMPANY_ID 0x00 |
#define | REG_DEVICE_ID 0x01 |
#define | REG_ST1 0x10 |
#define | REG_HXL 0x11 |
#define | REG_HXH 0x12 |
#define | REG_HYL 0x13 |
#define | REG_HYH 0x14 |
#define | REG_HZL 0x15 |
#define | REG_HZH 0x16 |
#define | REG_TMPS 0x17 |
#define | REG_ST2 0x18 |
#define | REG_CNTL1 0x30 |
#define | REG_CNTL2 0x31 |
#define | REG_CNTL3 0x32 |
#define | REG_ICM_WHOAMI 0x00 |
#define | REG_ICM_PWR_MGMT_1 0x06 |
#define | REG_ICM_INT_PIN_CFG 0x0f |
#define | ICM_WHOAMI_VAL 0xEA |
Variables | |
const AP_HAL::HAL & | hal |
#define ICM_WHOAMI_VAL 0xEA |
Definition at line 44 of file AP_Compass_AK09916.cpp.
Referenced by AP_Compass_AK09916::init().
#define REG_CNTL1 0x30 |
Definition at line 36 of file AP_Compass_AK09916.cpp.
#define REG_CNTL2 0x31 |
Definition at line 37 of file AP_Compass_AK09916.cpp.
Referenced by AP_Compass_AK09916::init().
#define REG_CNTL3 0x32 |
Definition at line 38 of file AP_Compass_AK09916.cpp.
Referenced by AP_Compass_AK09916::init().
#define REG_COMPANY_ID 0x00 |
Definition at line 25 of file AP_Compass_AK09916.cpp.
Referenced by AP_Compass_AK09916::init().
#define REG_DEVICE_ID 0x01 |
Definition at line 26 of file AP_Compass_AK09916.cpp.
#define REG_HXH 0x12 |
Definition at line 29 of file AP_Compass_AK09916.cpp.
#define REG_HXL 0x11 |
Definition at line 28 of file AP_Compass_AK09916.cpp.
Referenced by AP_Compass_AK09916::timer().
#define REG_HYH 0x14 |
Definition at line 31 of file AP_Compass_AK09916.cpp.
#define REG_HYL 0x13 |
Definition at line 30 of file AP_Compass_AK09916.cpp.
#define REG_HZH 0x16 |
Definition at line 33 of file AP_Compass_AK09916.cpp.
#define REG_HZL 0x15 |
Definition at line 32 of file AP_Compass_AK09916.cpp.
#define REG_ICM_INT_PIN_CFG 0x0f |
Definition at line 42 of file AP_Compass_AK09916.cpp.
Referenced by AP_Compass_AK09916::init().
#define REG_ICM_PWR_MGMT_1 0x06 |
Definition at line 41 of file AP_Compass_AK09916.cpp.
Referenced by AP_Compass_AK09916::init().
#define REG_ICM_WHOAMI 0x00 |
Definition at line 40 of file AP_Compass_AK09916.cpp.
Referenced by AP_Compass_AK09916::init().
#define REG_ST1 0x10 |
Definition at line 27 of file AP_Compass_AK09916.cpp.
Referenced by AP_Compass_AK09916::timer().
#define REG_ST2 0x18 |
Definition at line 35 of file AP_Compass_AK09916.cpp.
#define REG_TMPS 0x17 |
Definition at line 34 of file AP_Compass_AK09916.cpp.
const AP_HAL::HAL& hal |
Definition at line 14 of file AC_PID_test.cpp.