Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
lis2dh12_internal.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2018 Freie Universität Berlin
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser
5
* General Public License v2.1. See the file LICENSE in the top level
6
* directory for more details.
7
*/
8
19
#ifndef LIS2DH12_INTERNAL_H
20
#define LIS2DH12_INTERNAL_H
21
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
30
#define REG_STATUS_REG_AUX (0x07)
31
#define REG_OUT_TEMP_L (0x0C)
32
#define REG_OUT_TEMP_H (0x0D)
33
#define REG_WHO_AM_I (0x0F)
34
#define REG_CTRL_REG0 (0x1E)
35
#define REG_TEMP_CFG_REG (0x1F)
36
#define REG_CTRL_REG1 (0x20)
37
#define REG_CTRL_REG2 (0x21)
38
#define REG_CTRL_REG3 (0x22)
39
#define REG_CTRL_REG4 (0x23)
40
#define REG_CTRL_REG5 (0x24)
41
#define REG_CTRL_REG6 (0x25)
42
#define REG_REFERENCE (0x26)
43
#define REG_STATUS_REG (0x27)
44
#define REG_OUT_X_L (0x28)
45
#define REG_OUT_X_H (0x29)
46
#define REG_OUT_Y_L (0x2A)
47
#define REG_OUT_Y_H (0x2B)
48
#define REG_OUT_Z_L (0x2C)
49
#define REG_OUT_Z_H (0x2D)
50
#define REG_FIFO_CTRL_REG (0x2E)
51
#define REG_FIFO_SRC_REG (0x2F)
52
#define REG_INT1_CFG (0x30)
53
#define REG_INT1_SRC (0x31)
54
#define REG_INT1_THS (0x32)
55
#define REG_INT1_DURATION (0x33)
56
#define REG_INT2_CFG (0x34)
57
#define REG_INT2_SRC (0x35)
58
#define REG_INT2_THS (0x36)
59
#define REG_INT2_DURATION (0x37)
60
#define REG_CLICK_CFG (0x38)
61
#define REG_CLICK_SRC (0x39)
62
#define REG_CLICK_THS (0x3A)
63
#define REG_TIME_LIMIT (0x3B)
64
#define REG_TIME_LATENCY (0x3C)
65
#define REG_TIME_WINDOW (0x3D)
66
#define REG_ACT_THS (0x3E)
67
#define REG_ACT_DUR (0x3F)
74
#define WHO_AM_I_VAL (0x33)
75
#define CTRL_REG0_DEFAULT (0x10)
78
#ifdef __cplusplus
79
}
80
#endif
81
82
#endif
/* LIS2DH12_INTERNAL_H */
Generated on Sat Nov 23 2024 16:31:09 by
1.9.8