/Zephyr-latest/samples/subsys/mgmt/osdp/peripheral_device/src/ |
D | main.c | 12 /* 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/ |
D | board.c | 13 /* 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/ |
D | main.c | 22 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/ |
D | rpi_pico-led.dtsi | 11 led0: led_0 { label 27 led0 = &led0; 28 pwm-led0 = &pwm_led0;
|
/Zephyr-latest/samples/subsys/mgmt/osdp/control_panel/src/ |
D | main.c | 12 /* 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/ |
D | nrf52_bsim.overlay | 10 led0 = &led0; 15 led0: led_0 {
|
/Zephyr-latest/boards/seeed/xiao_ble/ |
D | xiao_ble_common.dtsi | 20 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/ |
D | we_ophelia1ev_nrf52805.dts | 29 led0: led_0 { label 50 led0 = &led0; 53 bootloader-led0 = &led0; 55 mcuboot-led0 = &led0;
|
/Zephyr-latest/boards/renesas/rzt2m_starterkit/ |
D | rzt2m_starter_kit_renesas_rzt2m.dts | 23 led0 = &led0; 29 led0: led0 { label 31 label = "led0";
|
/Zephyr-latest/tests/drivers/gpio/gpio_api_1pin/src/ |
D | test_gpio_api.h | 15 * 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/ |
D | up_squared.overlay | 20 led0 = &led0; 25 led0: led_0 {
|
/Zephyr-latest/boards/raytac/mdbt53v_db_40/ |
D | raytac_mdbt53v_db_40_nrf5340_cpuapp_common.dts | 24 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/ |
D | nrf5340dk_common.dtsi | 10 led0: led_0 { label 83 led0 = &led0; 91 bootloader-led0 = &led0; 93 mcuboot-led0 = &led0;
|
/Zephyr-latest/boards/nordic/nrf51dk/ |
D | nrf51dk_nrf51822.dts | 29 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/ |
D | nrf52840dk_nrf52811.dts | 29 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/ |
D | croxel_cx1825_nrf52840.dts | 24 led0: led_0 { label 45 led0 = &led0; 48 bootloader-led0 = &led0; 50 mcuboot-led0 = &led0;
|
/Zephyr-latest/boards/ebyte/e73_tbb/ |
D | ebyte_e73_tbb_nrf52832.dts | 31 led0: led_0 { label 64 led0 = &led0; 66 pwm-led0 = &pwm_led0; 69 bootloader-led0 = &led0;
|
/Zephyr-latest/boards/nordic/nrf52833dk/ |
D | nrf52833dk_nrf52820.dts | 29 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/ |
D | nrf9131ek_nrf9131_common.dtsi | 21 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/ |
D | nrf52dk_nrf52805.dts | 29 led0: led_0 { label 73 led0 = &led0; 81 bootloader-led0 = &led0; 83 mcuboot-led0 = &led0;
|
D | nrf52dk_nrf52810.dts | 31 led0: led_0 { label 75 led0 = &led0; 83 bootloader-led0 = &led0; 85 mcuboot-led0 = &led0;
|
/Zephyr-latest/boards/others/neorv32/ |
D | neorv32.dts | 18 led0 = &led0; 51 led0: led0 { label
|
/Zephyr-latest/boards/microchip/mpfs_icicle/ |
D | mpfs_icicle_common.dtsi | 16 led0 = &led0; 25 led0: led0 { label
|
/Zephyr-latest/boards/we/proteus3ev/ |
D | we_proteus3ev_nrf52840.dts | 24 led0: led_0 { label 46 led0 = &led0; 49 bootloader-led0 = &led0;
|
/Zephyr-latest/boards/raytac/mdbt50q_db_40/ |
D | raytac_mdbt50q_db_40_nrf52840.dts | 28 led0: led_0 { label 75 led0 = &led0; 78 pwm-led0 = &pwm_led0; 83 bootloader-led0 = &led0; 85 mcuboot-led0 = &led0;
|