Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
mpu9x50_regs.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2015 Freie Universität Berlin
3
* 2019 HAW Hamburg
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
21
#ifndef MPU9X50_REGS_H
22
#define MPU9X50_REGS_H
23
24
25
#ifdef __cplusplus
26
extern
"C"
{
27
#endif
28
33
#define MPU9X50_YG_OFFS_TC_REG (0x01)
34
#define MPU9X50_RATE_DIV_REG (0x19)
35
#define MPU9X50_LPF_REG (0x1A)
36
#define MPU9X50_GYRO_CFG_REG (0x1B)
37
#define MPU9X50_ACCEL_CFG_REG (0x1C)
38
#define MPU9X50_FIFO_EN_REG (0x23)
39
#define MPU9X50_I2C_MST_REG (0x24)
40
#define MPU9X50_SLAVE0_ADDR_REG (0x25)
41
#define MPU9X50_SLAVE0_REG_REG (0x26)
42
#define MPU9X50_SLAVE0_CTRL_REG (0x27)
43
#define MPU9X50_SLAVE1_ADDR_REG (0x28)
44
#define MPU9X50_SLAVE1_REG_REG (0x29)
45
#define MPU9X50_SLAVE1_CTRL_REG (0x2A)
46
#define MPU9X50_SLAVE4_CTRL_REG (0x34)
47
#define MPU9X50_INT_PIN_CFG_REG (0x37)
48
#define MPU9X50_INT_ENABLE_REG (0x38)
49
#define MPU9X50_DMP_INT_STATUS (0x39)
50
#define MPU9X50_INT_STATUS (0x3A)
51
#define MPU9X50_ACCEL_START_REG (0x3B)
52
#define MPU9X50_TEMP_START_REG (0x41)
53
#define MPU9X50_GYRO_START_REG (0x43)
54
#define MPU9X50_EXT_SENS_DATA_START_REG (0x49)
55
#define MPU9X50_COMPASS_DATA_START_REG (0x4A)
56
#define MPU9X50_SLAVE0_DATA_OUT_REG (0x63)
57
#define MPU9X50_SLAVE1_DATA_OUT_REG (0x64)
58
#define MPU9X50_SLAVE2_DATA_OUT_REG (0x65)
59
#define MPU9X50_SLAVE3_DATA_OUT_REG (0x66)
60
#define MPU9X50_I2C_DELAY_CTRL_REG (0x67)
61
#define MPU9X50_USER_CTRL_REG (0x6A)
62
#define MPU9X50_PWR_MGMT_1_REG (0x6B)
63
#define MPU9X50_PWR_MGMT_2_REG (0x6C)
64
#define MPU9X50_FIFO_COUNT_START_REG (0x72)
65
#define MPU9X50_FIFO_RW_REG (0x74)
66
#define MPU9X50_WHO_AM_I_REG (0x75)
67
73
#define COMPASS_WHOAMI_REG (0x00)
74
#define COMPASS_ST1_REG (0x02)
75
#define COMPASS_DATA_START_REG (0x03)
76
#define COMPASS_ST2_REG (0x09)
77
#define COMPASS_CNTL_REG (0x0A)
78
#define COMPASS_ASTC_REG (0x0C)
79
#define COMPASS_ASAX_REG (0x10)
80
#define COMPASS_ASAY_REG (0x11)
81
#define COMPASS_ASAZ_REG (0x12)
82
88
#define BIT_SLV0_DELAY_EN (0x01)
89
#define BIT_SLV1_DELAY_EN (0x02)
90
#define BIT_I2C_BYPASS_EN (0x02)
91
#define BIT_I2C_MST_EN (0x20)
92
#define BIT_PWR_MGMT1_SLEEP (0x40)
93
#define BIT_WAIT_FOR_ES (0x40)
94
#define BIT_I2C_MST_VDDIO (0x80)
95
#define BIT_SLAVE_RW (0x80)
96
#define BIT_SLAVE_EN (0x80)
97
#define BIT_DMP_EN (0x80)
98
100
#ifdef __cplusplus
101
}
102
#endif
103
104
#endif
/* MPU9X50_REGS_H */
105
Generated on Tue Nov 24 2020 19:46:51 by
1.8.17