Lines Matching +full:port +full:- +full:pin
2 * Copyright (c) 2016 Open-RnD Sp. z o.o.
5 * SPDX-License-Identifier: Apache-2.0
51 button.port->name); in main()
57 printk("Error %d: failed to configure %s pin %d\n", in main()
58 ret, button.port->name, button.pin); in main()
65 printk("Error %d: failed to configure interrupt on %s pin %d\n", in main()
66 ret, button.port->name, button.pin); in main()
70 gpio_init_callback(&button_cb_data, button_pressed, BIT(button.pin)); in main()
71 gpio_add_callback(button.port, &button_cb_data); in main()
72 printk("Set up button at %s pin %d\n", button.port->name, button.pin); in main()
74 if (led.port && !gpio_is_ready_dt(&led)) { in main()
76 ret, led.port->name); in main()
77 led.port = NULL; in main()
79 if (led.port) { in main()
82 printk("Error %d: failed to configure LED device %s pin %d\n", in main()
83 ret, led.port->name, led.pin); in main()
84 led.port = NULL; in main()
86 printk("Set up LED at %s pin %d\n", led.port->name, led.pin); in main()
91 if (led.port) { in main()