Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
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
22
#ifndef MMA7660_REG_H
23
#define MMA7660_REG_H
24
25
#ifdef __cplusplus
26
extern
"C"
27
{
28
#endif
29
34
#define MMA7660_XOUT (0x00)
35
#define MMA7660_YOUT (0x01)
36
#define MMA7660_ZOUT (0x02)
37
#define MMA7660_TILT (0x03)
38
#define MMA7660_SRST (0x04)
39
#define MMA7660_SPCNT (0x05)
40
#define MMA7660_INTSU (0x06)
41
#define MMA7660_MODE (0x07)
42
#define MMA7660_SR (0x08)
43
#define MMA7660_PDET (0x09)
44
#define MMA7660_PD (0x0A)
47
#ifdef __cplusplus
48
}
49
#endif
50
51
#endif
/* MMA7660_REG_H */
Generated on Fri Nov 15 2024 22:46:37 by
1.9.8