fpc202_gpio_get_dir
if (fpc202_gpio_get_dir(offset) == GPIO_LINE_DIRECTION_OUT)
if (fpc202_gpio_get_dir(offset) == GPIO_LINE_DIRECTION_IN)