nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
sm_sensor_config Struct Reference

Sensor configuration. More...

#include <sensor_manager.h>

Data Fields

const struct device * dev
 Device.
 
const char * event_descr
 Event descriptor.
 
const struct caf_sampled_channelchans
 Used channels description.
 
uint8_t chan_cnt
 Number of channels.
 
uint8_t active_events_limit
 Allowed number of unprocessed events.
 
unsigned int sampling_period_ms
 Sampling period.
 
struct sm_triggertrigger
 Sensor trigger configuration.
 
bool suspend
 Flag to indicate whether sensor should be suspended or not.
 

Detailed Description

Sensor configuration.

The sensor configuration is provided by the application in file specified by the :kconfig:option:CONFIG_CAF_SENSOR_MANAGER_DEF_PATH option.


The documentation for this struct was generated from the following file: