Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
mma7660_reg.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2016 University of California, Berkeley
3
* Copyright (C) 2016 Michael Andersen <m.andersen@cs.berkeley.edu>
4
*
5
* This file is subject to the terms and conditions of the GNU Lesser
6
* General Public License v2.1. See the file LICENSE in the top level
7
* directory for more details.
8
*
9
*/
10
11
#pragma once
12
24
#ifdef __cplusplus
25
extern
"C"
26
{
27
#endif
28
33
#define MMA7660_XOUT (0x00)
34
#define MMA7660_YOUT (0x01)
35
#define MMA7660_ZOUT (0x02)
36
#define MMA7660_TILT (0x03)
37
#define MMA7660_SRST (0x04)
38
#define MMA7660_SPCNT (0x05)
39
#define MMA7660_INTSU (0x06)
40
#define MMA7660_MODE (0x07)
41
#define MMA7660_SR (0x08)
42
#define MMA7660_PDET (0x09)
43
#define MMA7660_PD (0x0A)
46
#ifdef __cplusplus
47
}
48
#endif
49
Generated on Fri Jun 20 2025 21:02:36 by
1.9.1