Searched refs:wakeup_button (Results 1 – 1 of 1) sorted by relevance
20 #if !DT_NODE_HAS_STATUS_OKAY(DT_ALIAS(wakeup_button))23 static const struct gpio_dt_spec wakeup_button = GPIO_DT_SPEC_GET(DT_ALIAS(wakeup_button), gpios); variable93 if (!gpio_is_ready_dt(&wakeup_button)) { in main()94 printk("Error: wakeup button device %s is not ready\n", wakeup_button.port->name); in main()98 int ret = gpio_pin_configure_dt(&wakeup_button, GPIO_INPUT); in main()102 ret, wakeup_button.port->name, wakeup_button.pin); in main()106 esp_deep_sleep_enable_gpio_wakeup(BIT(wakeup_button.pin), ESP_GPIO_WAKEUP_GPIO_HIGH); in main()107 printk("Enabling GPIO wakeup on pins GPIO%d\n", wakeup_button.pin); in main()