Home
last modified time | relevance | path

Searched full:led0 (Results 1 – 25 of 717) sorted by relevance

12345678910>>...29

/Zephyr-latest/samples/subsys/mgmt/osdp/peripheral_device/src/
Dmain.c12 /* The devicetree node identifier for the "led0" alias. */
13 #define LED0_NODE DT_ALIAS(led0)
19 static const struct gpio_dt_spec led0 = GPIO_DT_SPEC_GET_OR(LED0_NODE, gpios, {0}); variable
35 if (!gpio_is_ready_dt(&led0)) { in main()
36 printk("LED0 GPIO port %s is not ready\n", led0.port->name); in main()
40 ret = gpio_pin_configure_dt(&led0, GPIO_OUTPUT_ACTIVE); in main()
43 led0.port->name, led0.pin); in main()
55 gpio_pin_set(led0.port, led0.pin, led_state); in main()
/Zephyr-latest/samples/bluetooth/mesh/src/
Dboard.c13 /* Locate led0 as alias or label by that name */
14 #if DT_NODE_EXISTS(DT_ALIAS(led0))
15 #define LED0 DT_ALIAS(led0) macro
16 #elif DT_NODE_EXISTS(DT_NODELABEL(led0))
17 #define LED0 DT_NODELABEL(led0) macro
19 #define LED0 DT_INVALID_NODE macro
35 #if DT_NODE_EXISTS(LED0)
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)
[all …]
/Zephyr-latest/samples/boards/st/h7_dual_core/src/
Dmain.c22 static const struct gpio_dt_spec led0 = variable
23 GPIO_DT_SPEC_GET(DT_ALIAS(led0), gpios);
46 if (!gpio_is_ready_dt(&led0)) { in main()
47 printk("led0 device not ready\n"); in main()
51 gpio_pin_configure_dt(&led0, GPIO_OUTPUT_INACTIVE); in main()
53 data.led = &led0; in main()
/Zephyr-latest/boards/raspberrypi/common/
Drpi_pico-led.dtsi11 led0: led_0 { label
27 led0 = &led0;
28 pwm-led0 = &pwm_led0;
/Zephyr-latest/samples/subsys/mgmt/osdp/control_panel/src/
Dmain.c12 /* The devicetree node identifier for the "led0" alias. */
13 #define LED0_NODE DT_ALIAS(led0)
19 static const struct gpio_dt_spec led0 = GPIO_DT_SPEC_GET_OR(LED0_NODE, gpios, {0}); variable
79 if (!gpio_is_ready_dt(&led0)) { in main()
80 printk("Failed to get LED GPIO port %s\n", led0.port->name); in main()
84 ret = gpio_pin_configure_dt(&led0, GPIO_OUTPUT_ACTIVE); in main()
101 gpio_pin_set(led0.port, led0.pin, led_state); in main()
/Zephyr-latest/tests/drivers/gpio/gpio_get_direction/boards/
Dnrf52_bsim.overlay10 led0 = &led0;
15 led0: led_0 {
/Zephyr-latest/boards/seeed/xiao_ble/
Dxiao_ble_common.dtsi20 led0: led_0 { label
43 led0 = &led0;
46 pwm-led0 = &pwm_led0;
47 bootloader-led0 = &led0;
48 mcuboot-led0 = &led0;
/Zephyr-latest/boards/we/ophelia1ev/
Dwe_ophelia1ev_nrf52805.dts29 led0: led_0 { label
50 led0 = &led0;
53 bootloader-led0 = &led0;
55 mcuboot-led0 = &led0;
/Zephyr-latest/boards/renesas/rzt2m_starterkit/
Drzt2m_starter_kit_renesas_rzt2m.dts23 led0 = &led0;
29 led0: led0 { label
31 label = "led0";
/Zephyr-latest/tests/drivers/gpio/gpio_api_1pin/src/
Dtest_gpio_api.h15 * Otherwise, fallback to repurposing led0 as a GPIO. The latter won't always
22 #elif DT_NODE_HAS_PROP(DT_ALIAS(led0), gpios)
23 #define TEST_NODE DT_GPIO_CTLR(DT_ALIAS(led0), gpios)
24 #define TEST_PIN DT_GPIO_PIN(DT_ALIAS(led0), gpios)
25 #define TEST_PIN_DTS_FLAGS DT_GPIO_FLAGS(DT_ALIAS(led0), gpios)
/Zephyr-latest/tests/drivers/gpio/gpio_api_1pin/boards/
Dup_squared.overlay20 led0 = &led0;
25 led0: led_0 {
/Zephyr-latest/boards/raytac/mdbt53v_db_40/
Draytac_mdbt53v_db_40_nrf5340_cpuapp_common.dts24 led0: led_0 { label
66 led0 = &led0;
67 pwm-led0 = &pwm_led0;
71 bootloader-led0 = &led0;
73 mcuboot-led0 = &led0;
/Zephyr-latest/boards/nordic/nrf5340dk/
Dnrf5340dk_common.dtsi10 led0: led_0 { label
83 led0 = &led0;
91 bootloader-led0 = &led0;
93 mcuboot-led0 = &led0;
/Zephyr-latest/boards/nordic/nrf51dk/
Dnrf51dk_nrf51822.dts29 led0: led_0 { label
80 led0 = &led0;
84 pwm-led0 = &pwm_led0;
89 bootloader-led0 = &led0;
91 mcuboot-led0 = &led0;
/Zephyr-latest/boards/nordic/nrf52840dk/
Dnrf52840dk_nrf52811.dts29 led0: led_0 { label
80 led0 = &led0;
84 pwm-led0 = &pwm_led0;
89 bootloader-led0 = &led0;
91 mcuboot-led0 = &led0;
/Zephyr-latest/boards/croxel/croxel_cx1825/
Dcroxel_cx1825_nrf52840.dts24 led0: led_0 { label
45 led0 = &led0;
48 bootloader-led0 = &led0;
50 mcuboot-led0 = &led0;
/Zephyr-latest/boards/ebyte/e73_tbb/
Debyte_e73_tbb_nrf52832.dts31 led0: led_0 { label
64 led0 = &led0;
66 pwm-led0 = &pwm_led0;
69 bootloader-led0 = &led0;
/Zephyr-latest/boards/nordic/nrf52833dk/
Dnrf52833dk_nrf52820.dts29 led0: led_0 { label
80 led0 = &led0;
84 pwm-led0 = &pwm_led0;
89 bootloader-led0 = &led0;
91 mcuboot-led0 = &led0;
/Zephyr-latest/boards/nordic/nrf9131ek/
Dnrf9131ek_nrf9131_common.dtsi21 led0: led_0 { label
59 led0 = &led0;
62 pwm-led0 = &pwm_led0;
66 bootloader-led0 = &led0;
68 mcuboot-led0 = &led0;
/Zephyr-latest/boards/nordic/nrf52dk/
Dnrf52dk_nrf52805.dts29 led0: led_0 { label
73 led0 = &led0;
81 bootloader-led0 = &led0;
83 mcuboot-led0 = &led0;
Dnrf52dk_nrf52810.dts31 led0: led_0 { label
75 led0 = &led0;
83 bootloader-led0 = &led0;
85 mcuboot-led0 = &led0;
/Zephyr-latest/boards/others/neorv32/
Dneorv32.dts18 led0 = &led0;
51 led0: led0 { label
/Zephyr-latest/boards/microchip/mpfs_icicle/
Dmpfs_icicle_common.dtsi16 led0 = &led0;
25 led0: led0 { label
/Zephyr-latest/boards/we/proteus3ev/
Dwe_proteus3ev_nrf52840.dts24 led0: led_0 { label
46 led0 = &led0;
49 bootloader-led0 = &led0;
/Zephyr-latest/boards/raytac/mdbt50q_db_40/
Draytac_mdbt50q_db_40_nrf52840.dts28 led0: led_0 { label
75 led0 = &led0;
78 pwm-led0 = &pwm_led0;
83 bootloader-led0 = &led0;
85 mcuboot-led0 = &led0;

12345678910>>...29