Hi,
In PddInitializeHardware(VOID) of touchscreen.c BSP6.15.00, the following code are for setting the debounce time of PenIRQ pin:
IOCTL_GPIO_SET_DEBOUNCE_TIME_IN debounce; debounce.gpioId = s_TouchDevice.nPenGPIO; debounce.debounceTime = 10; GPIOIoControl(s_TouchDevice.hGPIO, IOCTL_GPIO_SET_DEBOUNCE_TIME, (UCHAR*)&debounce, sizeof(debounce), NULL, 0, NULL, NULL); In Unified BSP 1.00, IOCTL_GPIO_SET_DEBOUNCE_TIME_IN debounce; debounce.gpioId = s_TouchDevice.nPenGPIO; debounce.debounceTime = 10; I added the function call GPIOIoControl() as above and got a compile error. Is this method of setting GPIO debounce time intentionally eliminated in the new BSP? Thanks, Luan