Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/src/drivers/hall_twopole/
Dhall_twopole.c55 #define MAKE_TYPE(sPin,nPin) (sPin ? HALL_REPORT_OPENED_VALUE : HALL_REPORT_CLOSED_VALUE) + \ argument
60 struct Gpio *sPin; member
87 int32_t currPinState = MAKE_TYPE(gpioGet(mTask.sPin), gpioGet(mTask.nPin)); in debounceTimerCallback()
96 int32_t currPinState = MAKE_TYPE(gpioGet(data->sPin), gpioGet(data->nPin)); in startDebounceTimer()
108 extiClearPendingGpio(data->sPin); in hallSouthIsr()
156 extiClearPendingGpio(mTask.sPin); in hallPower()
158 enableInterrupt(mTask.sPin, &mTask.sIsr, HALL_S_IRQ); in hallPower()
161 disableInterrupt(mTask.sPin, &mTask.sIsr, HALL_S_IRQ); in hallPower()
163 extiClearPendingGpio(mTask.sPin); in hallPower()
187 hallReportState(MAKE_TYPE(gpioGet(mTask.sPin), gpioGet(mTask.nPin))); in hallSetRate()
[all …]