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
* Copyright (C) 2018 Gunar Schorcht
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
17
#ifndef ITG320X_REGS_H
18
#define ITG320X_REGS_H
19
20
#ifdef __cplusplus
21
extern
"C"
22
{
23
#endif
24
29
#define ITG320X_REG_WHO_AM_I (0x00)
30
#define ITG320X_REG_SMPLRT_DIV (0x15)
31
#define ITG320X_REG_DLPFS (0x16)
32
#define ITG320X_REG_INT_CFG (0x17)
33
#define ITG320X_REG_INT_STATUS (0x1a)
34
#define ITG320X_REG_TEMP_OUT_H (0x1b)
35
#define ITG320X_REG_TEMP_OUT_L (0x1c)
36
#define ITG320X_REG_GYRO_XOUT_H (0x1d)
37
#define ITG320X_REG_GYRO_XOUT_L (0x1e)
38
#define ITG320X_REG_GYRO_YOUT_H (0x1f)
39
#define ITG320X_REG_GYRO_YOUT_L (0x20)
40
#define ITG320X_REG_GYRO_ZOUT_H (0x21)
41
#define ITG320X_REG_GYRO_ZOUT_L (0x22)
42
#define ITG320X_REG_PWR_MGM (0x3e)
49
#define ITG320X_REG_DLPFS_FS_SEL (0x18)
50
#define ITG320X_REG_DLPFS_FS_SEL_VAL (0x18)
51
#define ITG320X_REG_DLPFS_DLPF_CFG (0x07)
53
#define ITG320X_REG_INT_CFG_ACTL (0x80)
54
#define ITG320X_REG_INT_CFG_OPEN (0x40)
55
#define ITG320X_REG_INT_CFG_LATCH_INT (0x20)
56
#define ITG320X_REG_INT_CFG_ANY_RDY_CLR (0x10)
57
#define ITG320X_REG_INT_CFG_ITG_RDY_EN (0x04)
58
#define ITG320X_REG_INT_CFG_RAW_RDY_EN (0x01)
60
#define ITG320X_REG_INT_STATUS_ITG_RDY (0x04)
61
#define ITG320X_REG_INT_STATUS_RAW_RDY (0x01)
63
#define ITG320X_REG_PWR_MGM_H_RESET (0x80)
64
#define ITG320X_REG_PWR_MGM_SLEEP (0x40)
65
#define ITG320X_REG_PWR_MGM_STBY_XG (0x20)
66
#define ITG320X_REG_PWR_MGM_STBY_YG (0x10)
67
#define ITG320X_REG_PWR_MGM_STBY_ZG (0x08)
68
#define ITG320X_REG_PWR_MGM_CLK_SEL (0x07)
70
#ifdef __cplusplus
71
}
72
#endif
73
74
#endif
/* ITG320X_REGS_H */
Generated on Sat Dec 21 2024 20:58:03 by
1.9.8