Interface library for the Atmel Inertial One IMU. Contains drivers for the ITG 3200 3 axis gyro, BMA-150 3 axis accelerometer, and AK8975 3 axis compass
Diff: IMU.h
- Revision:
- 8:062d536a04cd
- Parent:
- 7:9e3b79b06e27
- Child:
- 9:f17d822e2645
--- a/IMU.h Thu Feb 02 08:07:41 2012 +0000 +++ b/IMU.h Thu Feb 02 08:09:18 2012 +0000 @@ -1,9 +1,4 @@ -/** - * @author Daniel Kouba - * - * @section LICENCE - * - * Atmel Inertial One IMU Library +/* Atmel Inertial One IMU Library * Copyright (c) 2012 Daniel Kouba * * Permission is hereby granted, free of charge, to any person obtaining a copy @@ -23,26 +18,6 @@ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. - * - * @section DESCRIPTION - * - * Atmel Inertial One IMU Library - * - * Includes control routines for: - * - ITG-3200 3-axis, 16 bit gyroscope - * - BMA-150 3-axis, 16 bit accelerometer - * - AK8975 3-axis, 16 bit magnetometer - * - * Datasheets: - * - * http://www.atmel.com/dyn/resources/prod_documents/doc8354.pdf - * - * http://invensense.com/mems/gyro/documents/PS-ITG-3200A.pdf - * - * http://www.bosch-sensortec.com/content/language1/downloads/BMA150_DataSheet_Rev.1.5_30May2008.pdf - * - * http://pdf1.alldatasheet.com/datasheet-pdf/view/219477/AKM/AK8973/+Q18W89VYpLawLCDwv+/datasheet.pdf - * */ #ifndef IMU_AIO_H //IMU Atmel Inertial One @@ -97,6 +72,21 @@ /** Atmel Inertial One IMU Control Class * + * Includes control routines for: + * - ITG-3200 3-axis, 16 bit gyroscope + * - BMA-150 3-axis, 16 bit accelerometer + * - AK8975 3-axis, 16 bit magnetometer + * + * Datasheets: + * + * http://www.atmel.com/dyn/resources/prod_documents/doc8354.pdf + * + * http://invensense.com/mems/gyro/documents/PS-ITG-3200A.pdf + * + * http://www.bosch-sensortec.com/content/language1/downloads/BMA150_DataSheet_Rev.1.5_30May2008.pdf + * + * http://pdf1.alldatasheet.com/datasheet-pdf/view/219477/AKM/AK8973/+Q18W89VYpLawLCDwv+/datasheet.pdf + * */ class IMU { @@ -105,7 +95,9 @@ /** Creates IMU object and initializes all three chips * * Gyro: FS_SEL register is set to 0x03, as required by datasheet + * * Accelerometer: + * * Compass: * * @param sda - pin for I2C sda signal