Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
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
9
#pragma once
10
19
#ifdef __cplusplus
20
extern
"C"
21
{
22
#endif
23
28
#define ITG320X_REG_WHO_AM_I (0x00)
29
#define ITG320X_REG_SMPLRT_DIV (0x15)
30
#define ITG320X_REG_DLPFS (0x16)
31
#define ITG320X_REG_INT_CFG (0x17)
32
#define ITG320X_REG_INT_STATUS (0x1a)
33
#define ITG320X_REG_TEMP_OUT_H (0x1b)
34
#define ITG320X_REG_TEMP_OUT_L (0x1c)
35
#define ITG320X_REG_GYRO_XOUT_H (0x1d)
36
#define ITG320X_REG_GYRO_XOUT_L (0x1e)
37
#define ITG320X_REG_GYRO_YOUT_H (0x1f)
38
#define ITG320X_REG_GYRO_YOUT_L (0x20)
39
#define ITG320X_REG_GYRO_ZOUT_H (0x21)
40
#define ITG320X_REG_GYRO_ZOUT_L (0x22)
41
#define ITG320X_REG_PWR_MGM (0x3e)
48
#define ITG320X_REG_DLPFS_FS_SEL (0x18)
49
#define ITG320X_REG_DLPFS_FS_SEL_VAL (0x18)
50
#define ITG320X_REG_DLPFS_DLPF_CFG (0x07)
52
#define ITG320X_REG_INT_CFG_ACTL (0x80)
53
#define ITG320X_REG_INT_CFG_OPEN (0x40)
54
#define ITG320X_REG_INT_CFG_LATCH_INT (0x20)
55
#define ITG320X_REG_INT_CFG_ANY_RDY_CLR (0x10)
56
#define ITG320X_REG_INT_CFG_ITG_RDY_EN (0x04)
57
#define ITG320X_REG_INT_CFG_RAW_RDY_EN (0x01)
59
#define ITG320X_REG_INT_STATUS_ITG_RDY (0x04)
60
#define ITG320X_REG_INT_STATUS_RAW_RDY (0x01)
62
#define ITG320X_REG_PWR_MGM_H_RESET (0x80)
63
#define ITG320X_REG_PWR_MGM_SLEEP (0x40)
64
#define ITG320X_REG_PWR_MGM_STBY_XG (0x20)
65
#define ITG320X_REG_PWR_MGM_STBY_YG (0x10)
66
#define ITG320X_REG_PWR_MGM_STBY_ZG (0x08)
67
#define ITG320X_REG_PWR_MGM_CLK_SEL (0x07)
69
#ifdef __cplusplus
70
}
71
#endif
72
Generated on Mon Jun 30 2025 18:46:45 by
1.9.1