![]() |
nRF Connect SDK API 3.3.99
|
Sensor configuration. More...
#include <sensor_manager.h>
Data Fields | |
| const struct device * | dev |
| Device. | |
| const char * | event_descr |
| Event descriptor. | |
| const struct caf_sampled_channel * | chans |
| 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_trigger * | trigger |
| Sensor trigger configuration. | |
| bool | suspend |
| Flag to indicate whether sensor should be suspended or not. | |
Sensor configuration.
The sensor configuration is provided by the application in file specified by the :kconfig:option:CONFIG_CAF_SENSOR_MANAGER_DEF_PATH option.