Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/src/platform/stm32f4xx/
Dplatform.c117 static struct Gpio *mShWakeupGpio; variable
221 if (!extiIsPendingGpio(mShWakeupGpio)) in platWakeupIsr()
224 extiClearPendingGpio(mShWakeupGpio); in platWakeupIsr()
226 hostIntfRxPacket(!gpioGet(mShWakeupGpio)); in platWakeupIsr()
304 mShWakeupGpio = gpioRequest(SH_INT_WAKEUP); in platInitialize()
305 gpioConfigInput(mShWakeupGpio, GPIO_SPEED_LOW, GPIO_PULL_NONE); in platInitialize()
306 syscfgSetExtiPort(mShWakeupGpio); in platInitialize()
307 extiEnableIntGpio(mShWakeupGpio, EXTI_TRIGGER_BOTH); in platInitialize()