nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
CAF Sensor Event

CAF Sensor Event. More...

Data Structures

struct  sensor_state_event
 Sensor state event. More...
 
struct  sensor_event
 Sensor event. More...
 
struct  set_sensor_period_event
 Set sensor period event. More...
 

Enumerations

enum  sensor_state {
  SENSOR_STATE_DISABLED , SENSOR_STATE_SLEEP , SENSOR_STATE_ACTIVE , SENSOR_STATE_ERROR ,
  SENSOR_STATE_COUNT , APP_EM_ENFORCE_ENUM_SIZE =(SENSOR_STATE)
}
 Sensor states. More...
 

Functions

static size_t sensor_event_get_data_cnt (const struct sensor_event *event)
 Get size of sensor data.
 
static struct sensor_value * sensor_event_get_data_ptr (const struct sensor_event *event)
 Get pointer to the sensor data.
 

Detailed Description

CAF Sensor Event.