kempld_gpio_get_bit
if (kempld_gpio_get_bit(pld, KEMPLD_GPIO_DIR, offset))
return !!kempld_gpio_get_bit(pld, KEMPLD_GPIO_LVL, offset);