GPIO_VSL
i = (!!gpio_get_value(GPIO_VSL)) | ((!!gpio_get_value(GPIO_VSH)) << 1);
gpio_direction_input(GPIO_VSL);