mma7660_reg.h File Reference

Register definition for the MMA7660 accelerometer driver. More...

Detailed Description

Register definition for the MMA7660 accelerometer driver.

Author
Michael Andersen m.and.nosp@m.erse.nosp@m.n@cs..nosp@m.berk.nosp@m.eley..nosp@m.edu

Definition in file mma7660_reg.h.

Go to the source code of this file.

Registers

#define MMA7660_XOUT   (0x00)
 X-axis out.
 
#define MMA7660_YOUT   (0x01)
 Y-axis out.
 
#define MMA7660_ZOUT   (0x02)
 Z-axis out.
 
#define MMA7660_TILT   (0x03)
 Tilt, Shake, Tap, Alert.
 
#define MMA7660_SRST   (0x04)
 Sample rate status.
 
#define MMA7660_SPCNT   (0x05)
 Sleep count register.
 
#define MMA7660_INTSU   (0x06)
 Interrupt setup.
 
#define MMA7660_MODE   (0x07)
 Mode register.
 
#define MMA7660_SR   (0x08)
 Sample rate register.
 
#define MMA7660_PDET   (0x09)
 Tap / Pulse detection.
 
#define MMA7660_PD   (0x0A)
 Tap / Pulse debounce.