Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
itg320x_regs.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2018 Gunar Schorcht
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*/
5
6
#pragma once
7
15
16
#ifdef __cplusplus
17
extern
"C"
18
{
19
#endif
20
25
#define ITG320X_REG_WHO_AM_I (0x00)
26
#define ITG320X_REG_SMPLRT_DIV (0x15)
27
#define ITG320X_REG_DLPFS (0x16)
28
#define ITG320X_REG_INT_CFG (0x17)
29
#define ITG320X_REG_INT_STATUS (0x1a)
30
#define ITG320X_REG_TEMP_OUT_H (0x1b)
31
#define ITG320X_REG_TEMP_OUT_L (0x1c)
32
#define ITG320X_REG_GYRO_XOUT_H (0x1d)
33
#define ITG320X_REG_GYRO_XOUT_L (0x1e)
34
#define ITG320X_REG_GYRO_YOUT_H (0x1f)
35
#define ITG320X_REG_GYRO_YOUT_L (0x20)
36
#define ITG320X_REG_GYRO_ZOUT_H (0x21)
37
#define ITG320X_REG_GYRO_ZOUT_L (0x22)
38
#define ITG320X_REG_PWR_MGM (0x3e)
40
45
#define ITG320X_REG_DLPFS_FS_SEL (0x18)
46
#define ITG320X_REG_DLPFS_FS_SEL_VAL (0x18)
47
#define ITG320X_REG_DLPFS_DLPF_CFG (0x07)
48
49
#define ITG320X_REG_INT_CFG_ACTL (0x80)
50
#define ITG320X_REG_INT_CFG_OPEN (0x40)
51
#define ITG320X_REG_INT_CFG_LATCH_INT (0x20)
52
#define ITG320X_REG_INT_CFG_ANY_RDY_CLR (0x10)
53
#define ITG320X_REG_INT_CFG_ITG_RDY_EN (0x04)
54
#define ITG320X_REG_INT_CFG_RAW_RDY_EN (0x01)
55
56
#define ITG320X_REG_INT_STATUS_ITG_RDY (0x04)
57
#define ITG320X_REG_INT_STATUS_RAW_RDY (0x01)
58
59
#define ITG320X_REG_PWR_MGM_H_RESET (0x80)
60
#define ITG320X_REG_PWR_MGM_SLEEP (0x40)
61
#define ITG320X_REG_PWR_MGM_STBY_XG (0x20)
62
#define ITG320X_REG_PWR_MGM_STBY_YG (0x10)
63
#define ITG320X_REG_PWR_MGM_STBY_ZG (0x08)
64
#define ITG320X_REG_PWR_MGM_CLK_SEL (0x07)
66
#ifdef __cplusplus
67
}
68
#endif
69
Generated on Fri May 1 2026 15:22:59 by
1.13.2