xyControl  0.1
Quadrotor Flight Controller on AVR Basis
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups
Enumerations | Functions
mag.h File Reference

LSM303DLHC Magnetometer API Header. More...

#include <error.h>
#include <xycontrol.h>

Go to the source code of this file.

Enumerations

enum  MagRange {
  r1g3 = 1, r1g9 = 2, r2g5 = 3, r4g0 = 4,
  r4g7 = 5, r5g6 = 6, r8g1 = 7
}
 Magnetometer Range options. More...
 

Functions

Error magInit (MagRange r)
 Initialize the Magnetometer. More...
 
Error magRead (Vector3f *v)
 Read from the Magnetometer. More...
 

Detailed Description

LSM303DLHC Magnetometer API Header.

Definition in file mag.h.