mma.h File Reference

Protypes of MMA7260 XYZ acceleration meter handling functions. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define MMA_COORD_X   0
#define MMA_COORD_Y   1
#define MMA_COORD_Z   2

Functions

void MMA_init (void)
void MMA_getCoordinates (void)

Variables

int MMA_coordinates [3]


Detailed Description

Protypes of MMA7260 XYZ acceleration meter handling functions.

Author:
Peter Ivanov, Olimex Ltd.

Definition in file mma.h.


Function Documentation

void MMA_getCoordinates ( void   ) 

Get MMA coordinates (X,Y,Z) The result is in array MMA_coordinates.

Definition at line 37 of file mma.c.

void MMA_init ( void   ) 

Initialize MMA7620Q device.

Definition at line 23 of file mma.c.


Generated on Sun Dec 9 17:17:10 2007 for Sample MSP430-4619LCD Project by  doxygen 1.5.1