Home
last modified time | relevance | path

Searched defs:SensorInterface (Results 1 – 1 of 1) sorted by relevance

/drivers/peripheral/sensor/interfaces/include/
Dsensor_if.h59 struct SensorInterface { struct
73 int32_t (*GetAllSensors)(struct SensorInformation **sensorInfo, int32_t *count);
85 int32_t (*Enable)(int32_t sensorId);
96 int32_t (*Disable)(int32_t sensorId);
109 int32_t (*SetBatch)(int32_t sensorId, int64_t samplingInterval, int64_t reportInterval);
122 int32_t (*SetMode)(int32_t sensorId, int32_t mode);
134 int32_t (*SetOption)(int32_t sensorId, uint32_t option);
150 int32_t (*Register)(int32_t groupId, RecordDataCallback cb);
185 * @brief Creates a <b>SensorInterface</b> instance. argument