Line data Source code
1 0 : /* 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 0 : #define LIS2DH_DT_GPIO_INT_EDGE_BOTH 0 11 0 : #define LIS2DH_DT_GPIO_INT_EDGE_RISING 1 12 0 : #define LIS2DH_DT_GPIO_INT_EDGE_FALLING 2 13 0 : #define LIS2DH_DT_GPIO_INT_LEVEL_HIGH 3 14 0 : #define LIS2DH_DT_GPIO_INT_LEVEL_LOW 4 15 : 16 : /* Any Motion mode */ 17 0 : #define LIS2DH_DT_ANYM_OR_COMBINATION 0 18 0 : #define LIS2DH_DT_ANYM_6D_MOVEMENT 1 19 0 : #define LIS2DH_DT_ANYM_AND_COMBINATION 2 20 0 : #define LIS2DH_DT_ANYM_6D_POSITION 3 21 : 22 : #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_ST_LIS2DH_H_ */