Searched refs:load_switch (Results 1 – 2 of 2) sorted by relevance
13 #if !DT_NODE_EXISTS(DT_NODELABEL(load_switch))17 static const struct gpio_dt_spec load_switch = variable18 GPIO_DT_SPEC_GET_OR(DT_NODELABEL(load_switch), gpios, {0});24 if (!gpio_is_ready_dt(&load_switch)) { in main()31 err = gpio_pin_configure_dt(&load_switch, GPIO_OUTPUT_INACTIVE); in main()43 err = gpio_pin_set_dt(&load_switch, 1); in main()
8 load_switch: load_switch {
Completed in 7 milliseconds