Sensor channel and attribute doesn't fit #29630
-
Hi, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You can add sensor-specific channels, attributes, and triggers. See e.g. https://github.com/zephyrproject-rtos/zephyr/blob/master/include/drivers/sensor/mcux_acmp.h |
Beta Was this translation helpful? Give feedback.
-
Another solution could be to use the counter API similar to how the DS3231 RTC driver is implemented: https://github.com/zephyrproject-rtos/zephyr/blob/master/drivers/counter/Kconfig.maxim_ds3231 |
Beta Was this translation helpful? Give feedback.
You can add sensor-specific channels, attributes, and triggers. See e.g. https://github.com/zephyrproject-rtos/zephyr/blob/master/include/drivers/sensor/mcux_acmp.h