adxl.c File Reference


Detailed Description

ADXL Analog Devices Accelormeter Utilities
Author:
Jörgen Birkler (birkler@yahoo.com)

Defines

Typedefs

Functions

Variables


Define Documentation

 
#define ADXL_SELECT_X_AXIS  ) 
 

Select x-axis (ICP).

 
#define ADXL_SELECT_Y_AXIS  ) 
 

Select y-axis (Analog Comparator).

 
#define ADXL_IS_X_AXIS  ) 
 

true if x-axis selected, false if y-axis is selected

#define ADXL_PERIOD_FILTER_LOG2SIZE
 

Size of floating average.

#define ADXL_STABLE_MEASUREMENT_COUNT
 

Number of measurements before values are stable.

#define ADXL_TIMERTICKS_OVERRUN
 

Max period ticks before overrun.


Typedef Documentation

typedef FIR_FilterAcculatedSum_t ADXL_long_mdG_t
 

Large value type used for calculations.


Variable Documentation

volatile ADXL_TimerTicks_t AxisX [static]
 

Current AxisX value.

volatile ADXL_TimerTicks_t AxisY [static]
 

Current AxisY value.

volatile unsigned char validMeasurements [static]
 

0 if measurements are valid

ADXL_CalibrationInfo_t CalibrationSet [static]
 

Set calibration info.

ADXL_CalibrationInfo_t CalibrationMeasured [static]
 

Current measure calibration values.

uint16_t TaTc [static]
 

Saved Ta or Tc.


Copyright 2002 Jörgen Birkler. For accelR8 Accelerometer on Mon Jan 19 21:43:19 2004 by Doxygen 1.3.5.