PIN_READ
sc->sc_gpio_pins[PIN_READ].pin_num = 1;
sc->sc_gpio_pins[PIN_READ].pin_caps = GPIO_PIN_INPUT;
if (pin != PIN_READ)