APM:Libraries
Macros | Variables
AP_Compass_MMC3416.cpp File Reference
#include "AP_Compass_MMC3416.h"
#include <AP_HAL/AP_HAL.h>
#include <utility>
#include <AP_Math/AP_Math.h>
#include <stdio.h>
#include <DataFlash/DataFlash.h>
Include dependency graph for AP_Compass_MMC3416.cpp:

Go to the source code of this file.

Macros

#define REG_PRODUCT_ID   0x20
 
#define REG_XOUT_L   0x00
 
#define REG_STATUS   0x06
 
#define REG_CONTROL0   0x07
 
#define REG_CONTROL1   0x08
 
#define REG_CONTROL0_REFILL   0x80
 
#define REG_CONTROL0_RESET   0x40
 
#define REG_CONTROL0_SET   0x20
 
#define REG_CONTROL0_NB   0x10
 
#define REG_CONTROL0_TM   0x01
 
#define MIN_DELAY_SET_RESET   50
 

Variables

const AP_HAL::HALhal
 

Macro Definition Documentation

◆ MIN_DELAY_SET_RESET

#define MIN_DELAY_SET_RESET   50

Definition at line 42 of file AP_Compass_MMC3416.cpp.

Referenced by AP_Compass_MMC3416::timer().

◆ REG_CONTROL0

#define REG_CONTROL0   0x07

Definition at line 31 of file AP_Compass_MMC3416.cpp.

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

◆ REG_CONTROL0_NB

#define REG_CONTROL0_NB   0x10

Definition at line 38 of file AP_Compass_MMC3416.cpp.

◆ REG_CONTROL0_REFILL

#define REG_CONTROL0_REFILL   0x80

Definition at line 35 of file AP_Compass_MMC3416.cpp.

Referenced by AP_Compass_MMC3416::timer().

◆ REG_CONTROL0_RESET

#define REG_CONTROL0_RESET   0x40

Definition at line 36 of file AP_Compass_MMC3416.cpp.

Referenced by AP_Compass_MMC3416::timer().

◆ REG_CONTROL0_SET

#define REG_CONTROL0_SET   0x20

Definition at line 37 of file AP_Compass_MMC3416.cpp.

Referenced by AP_Compass_MMC3416::timer().

◆ REG_CONTROL0_TM

#define REG_CONTROL0_TM   0x01

Definition at line 39 of file AP_Compass_MMC3416.cpp.

Referenced by AP_Compass_MMC3416::timer().

◆ REG_CONTROL1

#define REG_CONTROL1   0x08

Definition at line 32 of file AP_Compass_MMC3416.cpp.

Referenced by AP_Compass_MMC3416::init().

◆ REG_PRODUCT_ID

#define REG_PRODUCT_ID   0x20

Definition at line 28 of file AP_Compass_MMC3416.cpp.

Referenced by AP_Compass_MMC3416::init().

◆ REG_STATUS

#define REG_STATUS   0x06

Definition at line 30 of file AP_Compass_MMC3416.cpp.

Referenced by AP_Compass_MMC3416::timer().

◆ REG_XOUT_L

#define REG_XOUT_L   0x00

Definition at line 29 of file AP_Compass_MMC3416.cpp.

Referenced by AP_Compass_MMC3416::timer().

Variable Documentation

◆ hal

const AP_HAL::HAL& hal

Definition at line 14 of file AC_PID_test.cpp.