GPIO_BATTWARN
status |= gpio_get_value(GPIO_BATTWARN) ? 0 : SS_BATWARN;
gpio_direction_input(GPIO_BATTWARN);