Home
last modified time | relevance | path

Searched refs:taskId (Results 1 – 5 of 5) sorted by relevance

/device/google/contexthub/firmware/src/drivers/tilt_detection/
Dtilt_detection.c55 uint32_t taskId; member
145 sensorRequest(mTask.taskId, mTask.anyMotionHandle, SENSOR_RATE_ONCHANGE, 0); in configAnyMotion()
146 osEventSubscribe(mTask.taskId, EVT_SENSOR_ANY_MOTION); in configAnyMotion()
148 sensorRelease(mTask.taskId, mTask.anyMotionHandle); in configAnyMotion()
149 osEventUnsubscribe(mTask.taskId, EVT_SENSOR_ANY_MOTION); in configAnyMotion()
155 sensorRequest(mTask.taskId, mTask.noMotionHandle, SENSOR_RATE_ONCHANGE, 0); in configNoMotion()
156 osEventSubscribe(mTask.taskId, EVT_SENSOR_NO_MOTION); in configNoMotion()
158 sensorRelease(mTask.taskId, mTask.noMotionHandle); in configNoMotion()
159 osEventUnsubscribe(mTask.taskId, EVT_SENSOR_NO_MOTION); in configNoMotion()
165 sensorRequest(mTask.taskId, mTask.accelHandle, ACCEL_MIN_RATE, in configAccel()
[all …]
/device/google/contexthub/firmware/src/drivers/vsync/
Dvsync.c158 static bool startTask(uint32_t taskId) in startTask() argument
162 mTask.id = taskId; in startTask()
/device/google/contexthub/firmware/src/drivers/hall/
Dhall.c207 static bool startTask(uint32_t taskId) in startTask() argument
211 mTask.id = taskId; in startTask()
/device/google/contexthub/firmware/src/drivers/hall_twopole/
Dhall_twopole.c223 static bool startTask(uint32_t taskId) in startTask() argument
227 mTask.id = taskId; in startTask()
/device/google/contexthub/firmware/src/drivers/bosch_bmp280/
Dbosch_bmp280.c548 static bool startTask(uint32_t taskId) in startTask() argument
552 mTask.id = taskId; in startTask()
559 osEventSubscribe(taskId, EVT_APP_START); in startTask()