Loading...
Searching...
No Matches
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.
 

Macro Definition Documentation

◆ MMA7660_INTSU

#define MMA7660_INTSU   (0x06)

Interrupt setup.

Definition at line 40 of file mma7660_reg.h.

◆ MMA7660_MODE

#define MMA7660_MODE   (0x07)

Mode register.

Definition at line 41 of file mma7660_reg.h.

◆ MMA7660_PD

#define MMA7660_PD   (0x0A)

Tap / Pulse debounce.

Definition at line 44 of file mma7660_reg.h.

◆ MMA7660_PDET

#define MMA7660_PDET   (0x09)

Tap / Pulse detection.

Definition at line 43 of file mma7660_reg.h.

◆ MMA7660_SPCNT

#define MMA7660_SPCNT   (0x05)

Sleep count register.

Definition at line 39 of file mma7660_reg.h.

◆ MMA7660_SR

#define MMA7660_SR   (0x08)

Sample rate register.

Definition at line 42 of file mma7660_reg.h.

◆ MMA7660_SRST

#define MMA7660_SRST   (0x04)

Sample rate status.

Definition at line 38 of file mma7660_reg.h.

◆ MMA7660_TILT

#define MMA7660_TILT   (0x03)

Tilt, Shake, Tap, Alert.

Definition at line 37 of file mma7660_reg.h.

◆ MMA7660_XOUT

#define MMA7660_XOUT   (0x00)

X-axis out.

Definition at line 34 of file mma7660_reg.h.

◆ MMA7660_YOUT

#define MMA7660_YOUT   (0x01)

Y-axis out.

Definition at line 35 of file mma7660_reg.h.

◆ MMA7660_ZOUT

#define MMA7660_ZOUT   (0x02)

Z-axis out.

Definition at line 36 of file mma7660_reg.h.