Home | History | Annotate | Download | only in vsync

Lines Matching defs:pin

72     struct Gpio *pin;
113 if (!extiIsPendingGpio(data->pin)) {
125 extiClearPendingGpio(data->pin);
129 static bool enableInterrupt(struct Gpio *pin, struct ChainedIsr *isr)
131 gpioConfigInput(pin, GPIO_SPEED_LOW, GPIO_PULL_NONE);
132 syscfgSetExtiPort(pin);
133 extiEnableIntGpio(pin, EXTI_TRIGGER_FALLING);
138 static bool disableInterrupt(struct Gpio *pin, struct ChainedIsr *isr)
141 extiDisableIntGpio(pin);
159 extiClearPendingGpio(mTask.pin);
160 enableInterrupt(mTask.pin, &mTask.isr);
162 disableInterrupt(mTask.pin, &mTask.isr);
163 extiClearPendingGpio(mTask.pin);
204 mTask.pin = gpioRequest(VSYNC_PIN);
219 disableInterrupt(mTask.pin, &mTask.isr);
221 extiClearPendingGpio(mTask.pin);
222 gpioRelease(mTask.pin);