File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed
include/zephyr/drivers/sensor Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change 5
5
* SPDX-License-Identifier: Apache-2.0
6
6
*/
7
7
8
+ /**
9
+ * @file
10
+ * @brief Header file for extended sensor API of PAT9136 sensor
11
+ * @ingroup pat9136_interface
12
+ */
13
+
8
14
#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_PAT9136_H_
9
15
#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_PAT9136_H_
10
16
17
+ /**
18
+ * @brief Pixart PAT9136 optical flow sensor
19
+ * @defgroup pat9136_interface PAT9136
20
+ * @ingroup sensor_interface_ext
21
+ * @{
22
+ */
23
+
11
24
#include <zephyr/drivers/sensor.h>
12
25
13
26
#ifdef __cplusplus
14
27
extern "C" {
15
28
#endif
16
29
17
- /** This sensor does have the ability to provide DXY in meaningful units, and
30
+ /**
31
+ * Custom sensor channels for PAT9136
32
+ *
33
+ * This sensor does have the ability to provide DXY in meaningful units, and
18
34
* since the standard channels' unit is in points (SENSOR_CHAN_POS_DX,
19
35
* SENSOR_CHAN_POS_DY, SENSOR_CHAN_POS_DXYZ), we've captured the following
20
36
* channels to provide an alternative for this sensor.
@@ -35,4 +51,8 @@ enum sensor_channel_pat9136 {
35
51
}
36
52
#endif
37
53
54
+ /**
55
+ * @}
56
+ */
57
+
38
58
#endif /* ZEPHYR_INCLUDE_DRIVERS_SENSOR_PAT9136_H_ */
You can’t perform that action at this time.
0 commit comments