Sensorian
1.0
C API Reference Guide Library
Main Page
Related Pages
Modules
Data Structures
Files
Examples
File List
Globals
MemoryMap.h
Go to the documentation of this file.
1
/****************************************************************************
2
* Copyright (C) 2015 Sensorian
3
* *
4
* This file is part of Sensorian. *
5
* *
6
* Sensorian is free software: you can redistribute it and/or modify it *
7
* under the terms of the GNU Lesser General Public License as published *
8
* by the Free Software Foundation, either version 3 of the License, or *
9
* (at your option) any later version. *
10
* *
11
* Sensorian is distributed in the hope that it will be useful, *
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14
* GNU Lesser General Public License for more details. *
15
* *
16
* You should have received a copy of the GNU Lesser General Public *
17
* License along with Sensorian. *
18
* If not, see <http://www.gnu.org/licenses/>. *
19
****************************************************************************/
20
29
#ifndef __MEMORY_MAP_H__
30
#define __MEMORY_MAP_H__
31
32
#define STATUS 0x00
33
#define OUT_X_MSB 0x01
34
#define OUT_X_LSB 0x02
35
#define OUT_Y_MSB 0x03
36
#define OUT_Y_LSB 0x04
37
#define OUT_Z_MSB 0x05
38
#define OUT_Z_LSB 0x05
39
#define F_SETUP 0x09
40
#define TRIG_CFG 0x0A
41
#define SYSMOD 0x0B
42
#define INT_SOURCE 0x0C
43
#define WHO_AM_I 0x0D
44
#define XYZ_DATA_CFG 0x0E
45
#define HP_FILTER_CUTOFF 0x0F
46
#define PL_STATUS 0x10
47
#define PL_CFG 0x11
48
#define PL_COUNT 0x12
49
#define PL_BF_ZCOMP 0x13
50
#define PL_THS_REG 0x14
51
#define A_FFMT_CFG 0x15
52
#define A_FFMT_SRC 0x16
53
#define A_FFMT_THS 0x17
54
#define A_FFMT_COUNT 0x18
55
#define TRANSIENT_CFG 0x1D
56
#define TRANSIENT_SRC 0x1E
57
#define TRANSIENT_THS 0x1F
58
#define TRANSIENT_COUNT 0x20
59
#define PULSE_CFG 0x21
60
#define PULSE_SRC 0x22
61
#define PULSE_THSX 0x23
62
#define PULSE_THSY 0x24
63
#define PULSE_THSZ 0x25
64
#define PULSE_TMLT 0x26
65
#define PULSE_LTCY 0x27
66
#define PULSE_WIND 0x28
67
#define ASLP_COUNT 0x29
68
#define CTRL_REG1 0x2A
69
#define CTRL_REG2 0x2B
70
#define CTRL_REG3 0x2C
71
#define CTRL_REG4 0x2D
72
#define CTRL_REG5 0x2E
73
#define OFF_X 0x2F
74
#define OFF_Y 0x30
75
#define OFF_Z 0x31
76
#define M_DR_STATUS 0x32
77
#define M_OUT_X_MSB 0x33
78
#define M_OUT_X_LSB 0x34
79
#define M_OUT_Y_MSB 0x35
80
#define M_OUT_Y_LSB 0x36
81
#define M_OUT_Z_MSB 0x37
82
#define M_OUT_Z_LSB 0x38
83
#define CMP_X_MSB 0x39
84
#define CMP_X_LSB 0x3A
85
#define CMP_Y_MSB 0x3B
86
#define CMP_Y_LSB 0x3C
87
#define CMP_Z_MSB 0x3D
88
#define CMP_Z_LSB 0x3E
89
#define M_OFF_X_MSB 0x3F
90
#define M_OFF_X_LSB 0x40
91
#define M_OFF_Y_MSB 0x41
92
#define M_OFF_Y_LSB 0x42
93
#define M_OFF_Z_MSB 0x43
94
#define M_OFF_Z_LSB 0x44
95
#define MAX_X_MSB 0x45
96
#define MAX_X_LSB 0x46
97
#define MAX_Y_MSB 0x47
98
#define MAX_Y_LSB 0x48
99
#define MAX_Z_MSB 0x49
100
#define MAX_Z_LSB 0x4A
101
#define MIN_X_MSB 0x4B
102
#define MIN_X_LSB 0x4C
103
#define MIN_Y_MSB 0x4D
104
#define MIN_Y_LSB 0x4E
105
#define MIN_Z_MSB 0x4F
106
#define MIN_Z_LSB 0x50
107
#define TEMP 0x51
108
#define M_THS_CFG 0x52
109
#define M_THS_SRC 0x53
110
#define M_THS_X_MSB 0x54
111
#define M_THS_X_LSB 0x55
112
#define M_THS_Y_MSB 0x56
113
#define M_THS_Y_LSB 0x57
114
#define M_THS_Z_MSB 0x58
115
#define M_THS_Z_LSB 0x59
116
#define M_THS_COUNT 0x5A
117
#define M_CTRL_REG1 0x5B
118
#define M_CTRL_REG2 0x5C
119
#define M_CTRL_REG3 0x5D
120
#define M_INT_SRC 0x5E
121
#define A_VECM_CFG 0x5F
122
#define A_VECM_THS_MSB 0x60
123
#define A_VECM_THS_LSB 0x61
124
#define A_VECM_CNT 0x62
125
#define A_VECM_INITX_MSB 0x63
126
#define A_VECM_INITX_LSB 0x64
127
#define A_VECM_INITY_MSB 0x65
128
#define A_VECM_INITY_LSB 0x66
129
#define A_VECM_INITZ_MSB 0x67
130
#define A_VECM_INITZ_LSB 0x68
131
#define M_VECM_CFG 0x69
132
#define M_VECM_THS_MSB 0x6A
133
#define M_VECM_THS_LSB 0x6B
134
#define M_VECM_CNT 0x6C
135
#define M_VECM_INITX_MSB 0x6D
136
#define M_VECM_INITX_LSB 0x6E
137
#define M_VECM_INITY_MSB 0x6F
138
#define M_VECM_INITY_LSB 0x70
139
#define M_VECM_INITZ_MSB 0x71
140
#define M_VECM_INITZ_LSB 0x72
141
#define A_FFMT_THS_X_MSB 0x73
142
#define A_FFMT_THS_X_LSB 0x74
143
#define A_FFMT_THS_Y_MSB 0x75
144
#define A_FFMT_THS_Y_LSB 0x76
145
#define A_FFMT_THS_Z_MSB 0x77
146
#define A_FFMT_THS_Z_LSB 0x78
147
148
149
#endif
FXOS8700CQR1
Example2
MemoryMap.h
Generated on Sun Jul 12 2015 20:25:28 for Sensorian by
1.8.9.1