Lines Matching +full:wakeup +full:- +full:gpios
4 * SPDX-License-Identifier: Apache-2.0
21 #error "Unsupported: wakeup-button alias is not defined"
23 static const struct gpio_dt_spec wakeup_button = GPIO_DT_SPEC_GET(DT_ALIAS(wakeup_button), gpios);
36 int pin = __builtin_ffsll(wakeup_pin_mask) - 1; in main()
51 int pin = __builtin_ffsll(wakeup_pin_mask) - 1; in main()
72 printk("Enabling timer wakeup, %ds\n", wakeup_time_sec); in main()
81 printk("Enabling EXT1 wakeup on pins GPIO%d, GPIO%d\n", in main()
86 /* enable pull-down on ext1 pins to avoid random wake-ups */ in main()
94 printk("Error: wakeup button device %s is not ready\n", wakeup_button.port->name); in main()
102 ret, wakeup_button.port->name, wakeup_button.pin); in main()
107 printk("Enabling GPIO wakeup on pins GPIO%d\n", wakeup_button.pin); in main()