Zephyr API Documentation
4.0.0-rc3
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
lis2ds12.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2023 STMicroelectronics
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_ST_LIS2DS12_H_
7
#define ZEPHYR_INCLUDE_DT_BINDINGS_ST_LIS2DS12_H_
8
9
/* power-modes */
10
#define LIS2DS12_DT_POWER_DOWN 0
11
#define LIS2DS12_DT_LOW_POWER 1
12
#define LIS2DS12_DT_HIGH_RESOLUTION 2
13
#define LIS2DS12_DT_HIGH_FREQUENCY 3
14
15
/* Data rate */
16
#define LIS2DS12_DT_ODR_OFF 0
17
#define LIS2DS12_DT_ODR_1Hz_LP 1
/* available in LP mode only */
18
#define LIS2DS12_DT_ODR_12Hz5 2
/* available in LP and HR mode */
19
#define LIS2DS12_DT_ODR_25Hz 3
/* available in LP and HR mode */
20
#define LIS2DS12_DT_ODR_50Hz 4
/* available in LP and HR mode */
21
#define LIS2DS12_DT_ODR_100Hz 5
/* available in LP and HR mode */
22
#define LIS2DS12_DT_ODR_200Hz 6
/* available in LP and HR mode */
23
#define LIS2DS12_DT_ODR_400Hz 7
/* available in LP and HR mode */
24
#define LIS2DS12_DT_ODR_800Hz 8
/* available in LP and HR mode */
25
#define LIS2DS12_DT_ODR_1600Hz 9
/* available in HF mode only */
26
#define LIS2DS12_DT_ODR_3200Hz_HF 10
/* available in HF mode only */
27
#define LIS2DS12_DT_ODR_6400Hz_HF 11
/* available in HF mode only */
28
29
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_ST_LIS2DS12_H_ */
zephyr
dt-bindings
sensor
lis2ds12.h
Generated on Tue Nov 12 2024 18:02:54 for Zephyr API Documentation by
1.12.0