Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/platform/stm32/
DhostIntf.c28 static struct Gpio *mShWakeupGpio; variable
33 if (!extiIsPendingGpio(mShWakeupGpio)) in platWakeupIsr()
36 extiClearPendingGpio(mShWakeupGpio); in platWakeupIsr()
38 hostIntfRxPacket(!gpioGet(mShWakeupGpio)); in platWakeupIsr()
76 mShWakeupGpio = gpioRequest(SH_INT_WAKEUP); in platHostIntfInit()
77 gpioConfigInput(mShWakeupGpio, GPIO_SPEED_LOW, GPIO_PULL_NONE); in platHostIntfInit()
78 syscfgSetExtiPort(mShWakeupGpio); in platHostIntfInit()
79 extiEnableIntGpio(mShWakeupGpio, EXTI_TRIGGER_BOTH); in platHostIntfInit()