KEMPLD_GPIO_EVT_LVL_EDGE
evt_back = kempld_read16(pld, KEMPLD_GPIO_EVT_LVL_EDGE);
kempld_write16(pld, KEMPLD_GPIO_EVT_LVL_EDGE, 0x0000);
evt = kempld_read16(pld, KEMPLD_GPIO_EVT_LVL_EDGE);
kempld_write16(pld, KEMPLD_GPIO_EVT_LVL_EDGE, evt_back);