Zephyr API Documentation
4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
lis2dh.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_LIS2DH_H_
7
#define ZEPHYR_INCLUDE_DT_BINDINGS_ST_LIS2DH_H_
8
9
/* GPIO interrupt configuration */
10
#define LIS2DH_DT_GPIO_INT_EDGE_BOTH 0
11
#define LIS2DH_DT_GPIO_INT_EDGE_RISING 1
12
#define LIS2DH_DT_GPIO_INT_EDGE_FALLING 2
13
#define LIS2DH_DT_GPIO_INT_LEVEL_HIGH 3
14
#define LIS2DH_DT_GPIO_INT_LEVEL_LOW 4
15
16
/* Any Motion mode */
17
#define LIS2DH_DT_ANYM_OR_COMBINATION 0
18
#define LIS2DH_DT_ANYM_6D_MOVEMENT 1
19
#define LIS2DH_DT_ANYM_AND_COMBINATION 2
20
#define LIS2DH_DT_ANYM_6D_POSITION 3
21
22
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_ST_LIS2DH_H_ */
zephyr
dt-bindings
sensor
lis2dh.h
Generated on Sat Nov 23 2024 06:03:07 for Zephyr API Documentation by
1.12.0