Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
mpu9x50_regs.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2015 Freie Universität Berlin
3
* SPDX-FileCopyrightText: 2019 HAW Hamburg
4
* SPDX-License-Identifier: LGPL-2.1-only
5
*/
6
7
#pragma once
8
19
20
#ifdef __cplusplus
21
extern
"C"
{
22
#endif
23
28
#define MPU9X50_YG_OFFS_TC_REG (0x01)
29
#define MPU9X50_RATE_DIV_REG (0x19)
30
#define MPU9X50_LPF_REG (0x1A)
31
#define MPU9X50_GYRO_CFG_REG (0x1B)
32
#define MPU9X50_ACCEL_CFG_REG (0x1C)
33
#define MPU9X50_FIFO_EN_REG (0x23)
34
#define MPU9X50_I2C_MST_REG (0x24)
35
#define MPU9X50_SLAVE0_ADDR_REG (0x25)
36
#define MPU9X50_SLAVE0_REG_REG (0x26)
37
#define MPU9X50_SLAVE0_CTRL_REG (0x27)
38
#define MPU9X50_SLAVE1_ADDR_REG (0x28)
39
#define MPU9X50_SLAVE1_REG_REG (0x29)
40
#define MPU9X50_SLAVE1_CTRL_REG (0x2A)
41
#define MPU9X50_SLAVE4_CTRL_REG (0x34)
42
#define MPU9X50_INT_PIN_CFG_REG (0x37)
43
#define MPU9X50_INT_ENABLE_REG (0x38)
44
#define MPU9X50_DMP_INT_STATUS (0x39)
45
#define MPU9X50_INT_STATUS (0x3A)
46
#define MPU9X50_ACCEL_START_REG (0x3B)
47
#define MPU9X50_TEMP_START_REG (0x41)
48
#define MPU9X50_GYRO_START_REG (0x43)
49
#define MPU9X50_EXT_SENS_DATA_START_REG (0x49)
50
#define MPU9X50_COMPASS_DATA_START_REG (0x4A)
51
#define MPU9X50_SLAVE0_DATA_OUT_REG (0x63)
52
#define MPU9X50_SLAVE1_DATA_OUT_REG (0x64)
53
#define MPU9X50_SLAVE2_DATA_OUT_REG (0x65)
54
#define MPU9X50_SLAVE3_DATA_OUT_REG (0x66)
55
#define MPU9X50_I2C_DELAY_CTRL_REG (0x67)
56
#define MPU9X50_USER_CTRL_REG (0x6A)
57
#define MPU9X50_PWR_MGMT_1_REG (0x6B)
58
#define MPU9X50_PWR_MGMT_2_REG (0x6C)
59
#define MPU9X50_FIFO_COUNT_START_REG (0x72)
60
#define MPU9X50_FIFO_RW_REG (0x74)
61
#define MPU9X50_WHO_AM_I_REG (0x75)
63
68
#define COMPASS_WHOAMI_REG (0x00)
69
#define COMPASS_ST1_REG (0x02)
70
#define COMPASS_DATA_START_REG (0x03)
71
#define COMPASS_ST2_REG (0x09)
72
#define COMPASS_CNTL_REG (0x0A)
73
#define COMPASS_ASTC_REG (0x0C)
74
#define COMPASS_ASAX_REG (0x10)
75
#define COMPASS_ASAY_REG (0x11)
76
#define COMPASS_ASAZ_REG (0x12)
78
83
#define BIT_SLV0_DELAY_EN (0x01)
84
#define BIT_SLV1_DELAY_EN (0x02)
85
#define BIT_I2C_BYPASS_EN (0x02)
86
#define BIT_I2C_MST_EN (0x20)
87
#define BIT_PWR_MGMT1_SLEEP (0x40)
88
#define BIT_WAIT_FOR_ES (0x40)
89
#define BIT_I2C_MST_VDDIO (0x80)
90
#define BIT_SLAVE_RW (0x80)
91
#define BIT_SLAVE_EN (0x80)
92
#define BIT_DMP_EN (0x80)
94
95
#ifdef __cplusplus
96
}
97
#endif
98
Generated on Tue May 5 2026 15:28:28 by
1.13.2