/Zephyr-Core-3.5.0/samples/subsys/mgmt/osdp/peripheral_device/src/ |
D | main.c | 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-Core-3.5.0/samples/subsys/mgmt/osdp/control_panel/src/ |
D | main.c | 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-Core-3.5.0/samples/boards/stm32/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() 51 gpio_pin_configure_dt(&led0, GPIO_OUTPUT_INACTIVE); in main() 53 data.led = &led0; in main()
|
/Zephyr-Core-3.5.0/boards/arm/rpi_pico/ |
D | rpi_pico.dts | 14 led0: led_0 { label 30 led0 = &led0; 31 pwm-led0 = &pwm_led0;
|
/Zephyr-Core-3.5.0/samples/subsys/usb/hid-mouse/src/ |
D | main.c | 22 static const struct gpio_dt_spec led0 = GPIO_DT_SPEC_GET(DT_ALIAS(led0), gpios); variable 101 if (!gpio_is_ready_dt(&led0)) { in main() 102 LOG_ERR("LED device %s is not ready", led0.port->name); in main() 112 ret = gpio_pin_configure_dt(&led0, GPIO_OUTPUT); in main() 141 ret = gpio_pin_toggle(led0.port, led0.pin); in main()
|
/Zephyr-Core-3.5.0/tests/drivers/gpio/gpio_api_1pin/src/ |
D | test_gpio_api.h | 14 #if DT_NODE_HAS_PROP(DT_ALIAS(led0), gpios) 15 #define TEST_NODE DT_GPIO_CTLR(DT_ALIAS(led0), gpios) 16 #define TEST_PIN DT_GPIO_PIN(DT_ALIAS(led0), gpios) 17 #define TEST_PIN_DTS_FLAGS DT_GPIO_FLAGS(DT_ALIAS(led0), gpios)
|
/Zephyr-Core-3.5.0/tests/drivers/gpio/gpio_get_direction/boards/ |
D | nrf52_bsim.overlay | 10 led0 = &led0; 15 led0: led_0 {
|
/Zephyr-Core-3.5.0/samples/boards/96b_argonkey/microphone/src/ |
D | main.c | 49 static const struct gpio_dt_spec led0 = GPIO_DT_SPEC_GET(DT_ALIAS(led0), gpios); variable 54 gpio_pin_configure_dt(&led0, GPIO_OUTPUT_ACTIVE); in signal_sampling_started() 60 gpio_pin_configure_dt(&led0, GPIO_OUTPUT_ACTIVE); in signal_sampling_stopped() 66 gpio_pin_configure_dt(&led0, GPIO_OUTPUT_INACTIVE); in signal_print_stopped() 78 if (!gpio_is_ready_dt(&led0)) { in main()
|
/Zephyr-Core-3.5.0/boards/arm/we_ophelia1ev_nrf52805/ |
D | we_ophelia1ev_nrf52805.dts | 29 led0: led_0 { label 50 led0 = &led0; 53 bootloader-led0 = &led0; 55 mcuboot-led0 = &led0;
|
/Zephyr-Core-3.5.0/tests/drivers/gpio/gpio_api_1pin/boards/ |
D | up_squared.overlay | 20 led0 = &led0; 25 led0: led_0 {
|
/Zephyr-Core-3.5.0/boards/arm/raytac_mdbt53v_db_40_nrf5340/ |
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-Core-3.5.0/boards/arm/nrf51dk_nrf51422/ |
D | nrf51dk_nrf51422.dts | 29 led0: led_0 { label 80 led0 = &led0; 84 pwm-led0 = &pwm_led0; 89 bootloader-led0 = &led0; 91 mcuboot-led0 = &led0;
|
/Zephyr-Core-3.5.0/boards/arm/nrf52840dk_nrf52811/ |
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-Core-3.5.0/boards/arm/efr32_thunderboard/ |
D | efr32bg27_brd2602a.dts | 19 led0 = &led0; 25 mcuboot-led0 = &led0; 63 &led0 {
|
D | efr32bg22_brd4184.dtsi | 12 led0 = &led0; 18 mcuboot-led0 = &led0;
|
/Zephyr-Core-3.5.0/boards/riscv/mpfs_icicle/ |
D | mpfs_icicle.dts | 16 led0 = &led0; 31 led0: led0 { label
|
/Zephyr-Core-3.5.0/boards/arm/nrf52dk_nrf52805/ |
D | nrf52dk_nrf52805.dts | 29 led0: led_0 { label 73 led0 = &led0; 81 bootloader-led0 = &led0; 83 mcuboot-led0 = &led0;
|
/Zephyr-Core-3.5.0/boards/arm/nrf52dk_nrf52810/ |
D | nrf52dk_nrf52810.dts | 31 led0: led_0 { label 75 led0 = &led0; 83 bootloader-led0 = &led0; 85 mcuboot-led0 = &led0;
|
/Zephyr-Core-3.5.0/boards/arm/xiao_ble/ |
D | xiao_ble_common.dtsi | 27 led0: led_0 { label 50 led0 = &led0; 53 pwm-led0 = &pwm_led0; 54 bootloader-led0 = &led0; 55 mcuboot-led0 = &led0;
|
/Zephyr-Core-3.5.0/boards/arm/nrf52833dk_nrf52820/ |
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-Core-3.5.0/boards/riscv/neorv32/ |
D | neorv32.dts | 15 led0 = &led0; 48 led0: led0 { label
|
/Zephyr-Core-3.5.0/boards/arm/ebyte_e73_tbb_nrf52832/ |
D | ebyte_e73_tbb_nrf52832.dts | 31 led0: led_0 { label 64 led0 = &led0; 66 pwm-led0 = &pwm_led0; 69 bootloader-led0 = &led0;
|
/Zephyr-Core-3.5.0/boards/arm/nrf51_blenano/ |
D | nrf51_blenano.dts | 25 led0 = &led0; 31 led0: led_0 { label
|
/Zephyr-Core-3.5.0/boards/arm/raytac_mdbt50q_db_33_nrf52833/ |
D | raytac_mdbt50q_db_33_nrf52833.dts | 30 led0: led_0 { label 77 led0 = &led0; 80 pwm-led0 = &pwm_led0; 85 bootloader-led0 = &led0; 87 mcuboot-led0 = &led0;
|
/Zephyr-Core-3.5.0/boards/arm/raytac_mdbt53_db_40_nrf5340/ |
D | raytac_mdbt53_db_40_nrf5340_cpuapp_common.dts | 24 led0: led_0 { label 83 led0 = &led0; 87 pwm-led0 = &pwm_led0; 92 bootloader-led0 = &led0; 94 mcuboot-led0 = &led0;
|