sch_gpio_reg_get
return sch_gpio_reg_get(sch, gpio_num, GLV);
if (sch_gpio_reg_get(sch, gpio_num, GIO))