$search

bma180.h File Reference

#include "bma180/bma180meas.h"
#include "bma180/bma180err.h"
#include "bma180/bma180_calibrate.h"
#include <list>
#include <libsub.h>
Include dependency graph for bma180.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Bma180
 A Class to interface to the BMA180 over SPI. More...
struct  Bma180::OneBma180Config
struct  OneBma180Meas
struct  Bma180::OneSub20Config

Namespaces

namespace  bma180_cmd

Enumerations

enum  bma180_cmd::eSensorType {
  bma180_cmd::eACCEL, bma180_cmd::eTEMP, bma180_cmd::eBIAS_X, bma180_cmd::eBIAS_Y,
  bma180_cmd::eBIAS_Z, bma180_cmd::eACCEL, bma180_cmd::eTEMP, bma180_cmd::eBIAS_X,
  bma180_cmd::eBIAS_Y, bma180_cmd::eBIAS_Z
}

Functions

const std::string bma180_cmd::sSUB20SERIAL ("0651")

Variables

const bool bma180_cmd::bDEFAULT_CALIBRATE = false
const char bma180_cmd::chADR_ACCLXYZ = {0x02}
const char bma180_cmd::chADR_BWTCS = {0x20}
const char bma180_cmd::chADR_CTRLREG0 = {0x0D}
const char bma180_cmd::chADR_CTRLREG1 = {0x0E}
const char bma180_cmd::chADR_CTRLREG2 = {0x0F}
const char bma180_cmd::chADR_EE_GAIN_Z = {0x54}
const char bma180_cmd::chADR_EE_OFFSET_LSB1 = {0x55}
const char bma180_cmd::chADR_EE_OFFSET_LSB2 = {0x56}
const char bma180_cmd::chADR_EE_OFFSET_T = {0x57}
const char bma180_cmd::chADR_EE_OFFSET_X = {0x58}
const char bma180_cmd::chADR_EE_OFFSET_Y = {0x59}
const char bma180_cmd::chADR_EE_OFFSET_Z = {0x5A}
const char bma180_cmd::chADR_OFFSET_LSB1 = {0x35}
const char bma180_cmd::chADR_OFFSET_LSB2 = {0x36}
const char bma180_cmd::chADR_OFFSET_T = {0x37}
const char bma180_cmd::chADR_OFFSET_X = {0x38}
const char bma180_cmd::chADR_OFFSET_Y = {0x39}
const char bma180_cmd::chADR_OFFSET_Z = {0x3A}
const char bma180_cmd::chADR_RANGE = {0x35}
const char bma180_cmd::chADR_SOFTRESET = {0x10}
const char bma180_cmd::chADR_STATREG1 = {0x09}
const char bma180_cmd::chADR_STATREG2 = {0x0A}
const char bma180_cmd::chADR_STATREG3 = {0x0B}
const char bma180_cmd::chADR_STATREG4 = {0x0C}
const char bma180_cmd::chADR_VER = {0x00}
const char bma180_cmd::chCMD_BANDWIDTH_HZ [] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07}
const char bma180_cmd::chCMD_FULLSCALE_G [] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06}
const char bma180_cmd::chCMD_SET_EEW = {0x01}
const char bma180_cmd::chCMD_SOFTRESET = {0xB6}
const char bma180_cmd::chFLAG_R = {0x80}
const double bma180_cmd::dBWLOOKUP [] = {10, 20, 40, 75, 150, 300, 600, 1200}
const double bma180_cmd::dCALIB_ACCURACY = 0.05
const double bma180_cmd::dDEFAULT_BANDWIDTH_Hz = 300
const double bma180_cmd::dDEFAULT_MAXACC_g = 16
const double bma180_cmd::dDEFAULT_RATE_Hz = 500
const double bma180_cmd::dFULLRANGELOOKUP [] = {1.0, 1.5, 2.0, 3.0, 4.0, 8.0, 16.0}
const short bma180_cmd::iDEFAULT_CALIBCHIPSELECT = 0
const unsigned short bma180_cmd::iMAXNUM_OF_SENSORS = 5
const unsigned short bma180_cmd::uSERIALNUMLENGTH = 20
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


bma180
Author(s): Lukas Marti, Nikhil Deshpande, Philip Roan (Maintained by Philip Roan)
autogenerated on Sun Mar 3 11:09:57 2013