Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
ism6hg256x.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2025 STMicroelectronics
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_ST_ISM6HG256X_H_
7#define ZEPHYR_INCLUDE_DT_BINDINGS_ST_ISM6HG256X_H_
8
9#include "lsm6dsvxxx.h"
10
11/* Accel High-g odr */
12#define ISM6HG256X_HG_XL_ODR_OFF 0x0
13#define ISM6HG256X_HG_XL_ODR_AT_480Hz 0x3
14#define ISM6HG256X_HG_XL_ODR_AT_960Hz 0x4
15#define ISM6HG256X_HG_XL_ODR_AT_1920Hz 0x5
16#define ISM6HG256X_HG_XL_ODR_AT_3840Hz 0x6
17#define ISM6HG256X_HG_XL_ODR_AT_7680Hz 0x7
18
19/* Accel range */
20#define ISM6HG256X_DT_FS_2G 2
21#define ISM6HG256X_DT_FS_4G 4
22#define ISM6HG256X_DT_FS_8G 8
23#define ISM6HG256X_DT_FS_16G 16
24#define ISM6HG256X_DT_FS_32G 32
25#define ISM6HG256X_DT_FS_64G 64
26#define ISM6HG256X_DT_FS_128G 128
27#define ISM6HG256X_DT_FS_256G 256
28
29/* Gyro range */
30#define ISM6HG256X_DT_FS_250DPS 0x1
31#define ISM6HG256X_DT_FS_500DPS 0x2
32#define ISM6HG256X_DT_FS_1000DPS 0x3
33#define ISM6HG256X_DT_FS_2000DPS 0x4
34#define ISM6HG256X_DT_FS_4000DPS 0x5
35
36#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_ST_ISM6HG256X_H_ */