7#ifndef _SENSOR_MANAGER_H_
8#define _SENSOR_MANAGER_H_
14#include <zephyr/device.h>
15#include <zephyr/drivers/sensor.h>
45 const struct device *
dev;
static struct sm_trigger sensor_trigger
Definition sensor_manager_def.h:18
act_type
Definition sensor_manager.h:20
@ ACT_TYPE_ABS
Definition sensor_manager.h:21
Description of single channel.
Definition caf_sensor_common.h:39
const struct device * dev
Device.
Definition sensor_manager.h:45
const struct caf_sampled_channel * chans
Used channels description.
Definition sensor_manager.h:58
uint8_t chan_cnt
Number of channels.
Definition sensor_manager.h:64
const char * event_descr
Event descriptor.
Definition sensor_manager.h:52
bool suspend
Flag to indicate whether sensor should be suspended or not.
Definition sensor_manager.h:87
unsigned int sampling_period_ms
Sampling period.
Definition sensor_manager.h:76
uint8_t active_events_limit
Allowed number of unprocessed events.
Definition sensor_manager.h:72
struct sm_trigger * trigger
Sensor trigger configuration.
Definition sensor_manager.h:83
Sensor configuration.
Definition sensor_manager.h:41
struct sensor_value thresh
Definition sensor_manager.h:26
enum act_type type
Definition sensor_manager.h:25
unsigned int timeout_ms
Definition sensor_manager.h:27
Definition sensor_manager.h:24
struct sm_trigger_activation activation
Definition sensor_manager.h:32
struct sensor_trigger cfg
Definition sensor_manager.h:31
Definition sensor_manager.h:30