Line data Source code
1 1 : /*
2 : * Copyright The Zephyr Project Contributors
3 : *
4 : * SPDX-License-Identifier: Apache-2.0
5 : */
6 :
7 : #ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_ICM4268X_H_
8 : #define ZEPHYR_INCLUDE_DRIVERS_SENSOR_ICM4268X_H_
9 :
10 : #include <zephyr/drivers/sensor.h>
11 :
12 : /**
13 : * @file
14 : * @brief Extended public API for ICM4268X
15 : *
16 : * Pin function configuration via attributes under the current sensor driver abstraction.
17 : */
18 :
19 0 : #define ICM4268X_PIN9_FUNCTION_INT2 0
20 0 : #define ICM4268X_PIN9_FUNCTION_FSYNC 1
21 0 : #define ICM4268X_PIN9_FUNCTION_CLKIN 2
22 :
23 : /**
24 : * @brief Extended sensor attributes for ICM4268X
25 : *
26 : * Attributes for setting pin function.
27 : */
28 0 : enum sensor_attribute_icm4268x {
29 : SENSOR_ATTR_ICM4268X_PIN9_FUNCTION = SENSOR_ATTR_PRIV_START
30 : };
31 :
32 : #endif /* ZEPHYR_INCLUDE_DRIVERS_SENSOR_ICM4268X_H_ */
|