Lines Matching +full:int +full:- +full:gpios
1 /* board.c - Generic HW interaction hooks */
6 * SPDX-License-Identifier: Apache-2.0
36 #define LED0_DEV DT_PHANDLE(LED0, gpios)
37 #define LED0_PIN DT_PHA(LED0, gpios, pin)
38 #define LED0_FLAGS DT_PHA(LED0, gpios, flags)
44 #define BUTTON0_DEV DT_PHANDLE(BUTTON0, gpios)
45 #define BUTTON0_PIN DT_PHA(BUTTON0, gpios, pin)
46 #define BUTTON0_FLAGS DT_PHA(BUTTON0, gpios, flags)
58 static int led_init(void) in led_init()
61 int err; in led_init()
64 return -ENODEV; in led_init()
79 static int button_init(struct k_work *button_pressed) in button_init()
82 int err; in button_init()
109 int board_init(struct k_work *button_pressed) in board_init()
111 int err; in board_init()