MMA7660 I2C 3-axis digital accelerometer library.
More...
|
enum | MMA7660_REG_T {
REG_XOUT = 0x00,
REG_YOUT = 0x01,
REG_ZOUT = 0x02,
REG_TILT = 0x03,
REG_SRST = 0x04,
REG_SPCNT = 0x05,
REG_INTSU = 0x06,
REG_MODE = 0x07,
REG_SR = 0x08,
REG_PDET = 0x09,
REG_PD = 0x0a
} |
|
enum | MMA7660_INTR_T {
INTR_NONE = 0x00,
INTR_FBINT = 0x01,
INTR_PLINT = 0x02,
INTR_PDINT = 0x04,
INTR_ASINT = 0x08,
INTR_GINT = 0x10,
INTR_SHINTZ = 0x20,
INTR_SHINTY = 0x40,
INTR_SHINTX = 0x80
} |
|
enum | MMA7660_MODE_T {
MODE_MODE = 0x01,
MODE_TON = 0x04,
MODE_AWE = 0x08,
MODE_ASE = 0x10,
MODE_SCPS = 0x20,
MODE_IPP = 0x40,
MODE_IAH = 0x80
} |
|
enum | MMA7660_TILT_BF_T { BF_UNKNOWN = 0x00,
BF_LYING_FRONT = 0x01,
BF_LYING_BACK = 0x02
} |
|
enum | MMA7660_TILT_LP_T {
LP_UNKNOWN = 0x00,
LP_LANDSCAPE_LEFT = 0x01,
LP_LANDSCAPE_RIGHT = 0x02,
LP_VERT_DOWN = 0x05,
LP_VERT_UP = 0x06
} |
|
enum | MMA7660_AUTOSLEEP_T {
AUTOSLEEP_120 = 0x00,
AUTOSLEEP_64 = 0x01,
AUTOSLEEP_32 = 0x02,
AUTOSLEEP_16 = 0x03,
AUTOSLEEP_8 = 0x04,
AUTOSLEEP_4 = 0x05,
AUTOSLEEP_2 = 0x06,
AUTOSLEEP_1 = 0x07
} |
|