Lines Matching refs:sample
66 union EmbeddedDataPoint sample; in debounceTimerCallback() local
72 sample.idata = pinState ? HALL_REPORT_OPENED_VALUE : in debounceTimerCallback()
75 if (sample.idata != mTask.prevReportedValue) { in debounceTimerCallback()
76 mTask.prevReportedValue = sample.idata; in debounceTimerCallback()
77 osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_HALL), sample.vptr, NULL); in debounceTimerCallback()
166 union EmbeddedDataPoint sample; in hallSetRate() local
168 sample.idata = pinState ? HALL_REPORT_OPENED_VALUE : in hallSetRate()
170 osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_HALL), sample.vptr, NULL); in hallSetRate()
183 union EmbeddedDataPoint sample; in hallSendLastSample() local
187 sample.idata = mTask.prevReportedValue; in hallSendLastSample()
188 result = osEnqueuePrivateEvt(sensorGetMyEventType(SENS_TYPE_HALL), sample.vptr, NULL, tid); in hallSendLastSample()