/Zephyr-latest/samples/bluetooth/mesh/src/ |
D | microbit.c | 1 /* microbit.c - BBC micro:bit specific hooks */ 6 * SPDX-License-Identifier: Apache-2.0 17 GPIO_DT_SPEC_GET(DT_NODELABEL(buttona), gpios); 35 struct mb_display *disp = mb_display_get(); in button_pressed() local 41 mb_display_print(disp, MB_DISPLAY_MODE_DEFAULT, 500, "%04u", in button_pressed() 63 struct mb_display *disp = mb_display_get(); in board_output_number() local 74 mb_display_image(disp, MB_DISPLAY_MODE_DEFAULT, SYS_FOREVER_MS, &arrow, in board_output_number() 80 struct mb_display *disp = mb_display_get(); in board_prov_complete() local 89 mb_display_image(disp, MB_DISPLAY_MODE_DEFAULT, 10 * MSEC_PER_SEC, in board_prov_complete() 95 struct mb_display *disp = mb_display_get(); in board_init() local [all …]
|
/Zephyr-latest/samples/boards/bbc/microbit/sound/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 28 static const struct gpio_dt_spec sw0_gpio = GPIO_DT_SPEC_GET(DT_ALIAS(sw0), gpios); 29 static const struct gpio_dt_spec sw1_gpio = GPIO_DT_SPEC_GET(DT_ALIAS(sw1), gpios); 32 BUILD_ASSERT(DT_SAME_NODE(DT_GPIO_CTLR(DT_ALIAS(sw0), gpios), DT_GPIO_CTLR(DT_ALIAS(sw1), gpios))); 53 struct mb_display *disp; in button_pressed() local 70 period -= PWM_USEC(50U); in button_pressed() 77 disp = mb_display_get(); in button_pressed() 78 mb_display_print(disp, MB_DISPLAY_MODE_DEFAULT, 500, "%uHz", in button_pressed() 89 printk("%s: device not ready.\n", pwm.dev->name); in main() 95 printk("%s: device not ready.\n", sw0_gpio.port->name); in main()
|
/Zephyr-latest/boards/shields/ls0xx_generic/ |
D | ls013b7dh03.overlay | 4 * SPDX-License-Identifier: Apache-2.0 15 cs-gpios = <&arduino_header 16 GPIO_ACTIVE_HIGH>; /* D10 */ 19 spi-max-frequency = <2000000>; 23 extcomin-gpios = <&arduino_header 14 GPIO_ACTIVE_HIGH>; /* D8 */ 24 extcomin-frequency = <60>; /* required if extcomin-gpios is defined */ 25 disp-en-gpios = <&arduino_header 12 GPIO_ACTIVE_HIGH>; /* D6 */
|
/Zephyr-latest/samples/bluetooth/mesh_demo/src/ |
D | microbit.c | 1 /* microbit.c - BBC micro:bit specific hooks */ 6 * SPDX-License-Identifier: Apache-2.0 27 #define SEQ_PAGE (NRF_FICR->CODEPAGESIZE * (NRF_FICR->CODESIZE - 1)) 28 #define SEQ_MAX (NRF_FICR->CODEPAGESIZE * 8 * SEQ_PER_BIT) 31 GPIO_DT_SPEC_GET(DT_NODELABEL(buttona), gpios); 33 GPIO_DT_SPEC_GET(DT_NODELABEL(buttonb), gpios); 50 struct mb_display *disp = mb_display_get(); in button_pressed() local 58 mb_display_print(disp, MB_DISPLAY_MODE_SINGLE, in button_pressed() 61 mb_display_print(disp, MB_DISPLAY_MODE_SINGLE, in button_pressed() 115 duration += *str - '0'; in board_play_tune() [all …]
|
/Zephyr-latest/samples/boards/bbc/microbit/pong/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 21 /* The micro:bit has a 5x5 LED display, using (x, y) notation the top-left 22 * corner has coordinates (0, 0) and the bottom-right has (4, 4). To make 24 * system where top-left is (0, 0) and bottom-right is (49, 49). 37 #define BALL_VEL_Y_START -4 /* Default ball vertical speed */ 52 /* Ball starting position (just to the left of the paddle mid-point) */ 120 static const struct gpio_dt_spec sw0_gpio = GPIO_DT_SPEC_GET(DT_ALIAS(sw0), gpios); 121 static const struct gpio_dt_spec sw1_gpio = GPIO_DT_SPEC_GET(DT_ALIAS(sw1), gpios); 124 BUILD_ASSERT(DT_SAME_NODE(DT_GPIO_CTLR(DT_ALIAS(sw0), gpios), DT_GPIO_CTLR(DT_ALIAS(sw1), gpios))); 150 struct mb_display *disp = mb_display_get(); in pong_select() local [all …]
|
/Zephyr-latest/dts/bindings/display/ |
D | sharp,ls0xx.yaml | 2 # SPDX-License-Identifier: Apache-2.0 8 include: [spi-device.yaml, display-controller.yaml] 11 extcomin-gpios: 12 type: phandle-array 18 extcomin-frequency: 26 disp-en-gpios: 27 type: phandle-array
|
D | renesas,smartbond-display.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 include: [display-controller.yaml, lcd-controller.yaml, pinctrl-device.yaml] 8 compatible: "renesas,smartbond-display" 17 disp-gpios: 18 type: phandle-array 22 dma-prefetch: 25 - "no-prefetch" 26 - "prefetch-44-bytes" 27 - "prefetch-84-bytes" 28 - "prefetch-116-bytes" [all …]
|
D | st,stm32-ltdc.yaml | 1 # Copyright (c) 2022, Byte-Lab d.o.o. <dev@byte-lab.com> 3 # SPDX-License-Identifier: Apache-2.0 5 description: STM32 LCD-TFT display controller 7 compatible: "st,stm32-ltdc" 9 include: [lcd-controller.yaml, pinctrl-device.yaml, reset-device.yaml] 12 disp-on-gpios: 13 type: phandle-array 18 bl-ctrl-gpios: 19 type: phandle-array 24 ext-sdram: [all …]
|
/Zephyr-latest/boards/renesas/da1469x_dk_pro/dts/ |
D | da1469x_dk_pro_lcdc.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/gpio/gpio.h> 8 #include <zephyr/dt-bindings/display/panel.h> 19 swap-xy; 28 bias-pull-up; 36 bias-pull-up; 42 clock-frequency = <400000>; 49 int-gpios = <&gpio0 31 GPIO_ACTIVE_LOW>; 55 pinctrl-0 = <&display_controller_default>; 56 pinctrl-1 = <&display_controller_sleep>; [all …]
|
/Zephyr-latest/boards/shields/ls0xx_generic/doc/ |
D | index.rst | 13 The DISP pin controls whether to display memory 16 to a gpio. If devicetree contains ``disp-en-gpios`` then it will be set to 28 When ``extcomin-gpios`` is defined, driver starts a thread which will 29 toggle EXTCOMIN at ``extcomin-frequency`` frequency. Higher frequency 33 define ``extcomin-gpios`` and implement their preferred method in 39 +---------------+---------------------------------------------------------+ 43 +---------------+---------------------------------------------------------+ 45 +---------------+---------------------------------------------------------+ 47 +---------------+---------------------------------------------------------+ 50 +---------------+---------------------------------------------------------+ [all …]
|
/Zephyr-latest/boards/st/stm32f746g_disco/ |
D | stm32f746g_disco.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 9 #include <st/f7/stm32f746nghx-pinctrl.dtsi> 11 #include <zephyr/dt-bindings/input/input-event-codes.h> 12 #include <zephyr/dt-bindings/memory-attr/memory-attr.h> 13 #include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h> 17 compatible = "st,stm32f746g-disco"; 21 zephyr,shell-uart = &usart1; 25 zephyr,flash-controller = &n25q128a1; 31 compatible = "gpio-leds"; [all …]
|
/Zephyr-latest/boards/st/stm32f7508_dk/ |
D | stm32f7508_dk.dts | 5 * SPDX-License-Identifier: Apache-2.0 8 /dts-v1/; 10 #include <st/f7/stm32f750n8hx-pinctrl.dtsi> 11 #include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h> 13 #include <zephyr/dt-bindings/input/input-event-codes.h> 16 model = "STMicroelectronics STM32F7508-DK"; 21 zephyr,shell-uart = &usart1; 25 zephyr,flash-controller = &n25q128a1; 31 compatible = "gpio-leds"; 33 gpios = <&gpioi 1 GPIO_ACTIVE_HIGH>; [all …]
|
/Zephyr-latest/boards/st/stm32h7b3i_dk/ |
D | stm32h7b3i_dk.dts | 2 * Copyright (c) 2022 Byte-Lab d.o.o. <dev@byte-lab.com> 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 9 #include <st/h7/stm32h7b3lihxq-pinctrl.dtsi> 10 #include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h> 12 #include <zephyr/dt-bindings/input/input-event-codes.h> 16 compatible = "st,stm32h7b3i-dk"; 20 zephyr,shell-uart = &usart1; 29 compatible = "gpio-leds"; 31 gpios = <&gpiog 11 GPIO_ACTIVE_HIGH>; [all …]
|
/Zephyr-latest/tests/drivers/build_all/display/ |
D | app.overlay | 4 * SPDX-License-Identifier: Apache-2.0 9 * with real-world devicetree nodes, to allow these tests to run on 13 #include <zephyr/dt-bindings/led/led.h> 14 #include <zephyr/dt-bindings/mipi_dbi/mipi_dbi.h> 18 #address-cells = <1>; 19 #size-cells = <1>; 23 gpio-controller; 25 #gpio-cells = <0x2>; 30 compatible = "zephyr,mipi-dbi-spi"; 32 dc-gpios = <&test_gpio 0 0>; [all …]
|
/Zephyr-latest/boards/witte/linum/ |
D | linum.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 9 #include <st/h7/stm32h753bitx-pinctrl.dtsi> 10 #include <zephyr/dt-bindings/input/input-event-codes.h> 18 zephyr,shell-uart = &usart1; 22 zephyr,code-partition = &slot0_partition; 27 compatible = "zephyr,memory-region", "mmio-sram"; 30 zephyr,memory-region = "SDRAM1"; 31 zephyr,memory-attr = <( DT_MEM_ARM(ATTR_MPU_RAM) )>; 35 compatible = "gpio-leds"; [all …]
|
/Zephyr-latest/boards/st/stm32h750b_dk/ |
D | stm32h750b_dk.dts | 2 * Copyright (c) 2023-2024 STMicroelectronics 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 9 #include <st/h7/stm32h750xbhx-pinctrl.dtsi> 11 #include <zephyr/dt-bindings/input/input-event-codes.h> 15 compatible = "st,stm32h750b-dk"; 19 zephyr,shell-uart = &usart3; 22 zephyr,flash-controller = &mt25ql512ab1; 27 compatible = "zephyr,memory-region", "mmio-sram"; 30 zephyr,memory-region = "SDRAM2"; [all …]
|