Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/hall_twopole/
Dhall_twopole.c87 int32_t currPinState = MAKE_TYPE(gpioGet(mTask.sPin), gpioGet(mTask.nPin)); in debounceTimerCallback() local
89 if (mTask.on && (currPinState == prevPinState)) { in debounceTimerCallback()
90 hallReportState(currPinState); in debounceTimerCallback()
96 int32_t currPinState = MAKE_TYPE(gpioGet(data->sPin), gpioGet(data->nPin)); in startDebounceTimer() local
100 …erSet(HALL_DEBOUNCE_TIMER_DELAY, 0, 50, debounceTimerCallback, (void*)currPinState, true /* oneSho… in startDebounceTimer()