/Zephyr-latest/dts/bindings/misc/ |
D | zephyr,modbus-serial.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 compatible: "zephyr,modbus-serial" 8 include: uart-device.yaml 11 de-gpios: 12 type: phandle-array 15 Driver enable pin (DE) of the RS-485 transceiver. 19 re-gpios: 20 type: phandle-array 23 Receiver enable pin (nRE) of the RS-485 transceiver.
|
/Zephyr-latest/tests/subsys/modbus/boards/ |
D | frdm_k64f.overlay | 4 * SPDX-License-Identifier: Apache-2.0 11 compatible = "zephyr,modbus-serial"; 13 de-gpios = <&gpiob 22 GPIO_ACTIVE_LOW>; /* red LED */ 14 re-gpios = <&gpioe 26 GPIO_ACTIVE_LOW>; /* green LED */ 20 current-speed = <115200>; 23 compatible = "zephyr,modbus-serial";
|
/Zephyr-latest/samples/subsys/modbus/rtu_client/ |
D | app.overlay | 4 * SPDX-License-Identifier: Apache-2.0 11 compatible = "zephyr,modbus-serial"; 13 de-gpios = <&arduino_header 15 GPIO_ACTIVE_LOW>; /* D9 */
|
D | README.rst | 1 .. zephyr:code-sample:: modbus-rtu-client 3 :relevant-api: modbus 16 This sample has been tested with the nRF52840-DK and FRDM-K64F boards, 20 with another board running the :zephyr:code-sample:`modbus-rtu-server` sample. 22 In addition to the evaluation board a RS-485 shield may be used. 23 The shield converts UART TX, RX signals to RS-485. 24 An Arduino header compatible shield like `joy-it RS-485 shield for Arduino`_ 25 can be used. This example uses DE signal, which is controlled by pin D9 26 on the JOY-IT shield. For other shields, ``de-gpios`` property must be adapted 30 The A+, B- lines of the RS-485 shields should be connected together. [all …]
|
/Zephyr-latest/samples/subsys/modbus/rtu_server/ |
D | app.overlay | 4 * SPDX-License-Identifier: Apache-2.0 11 compatible = "zephyr,modbus-serial"; 13 de-gpios = <&arduino_header 15 GPIO_ACTIVE_LOW>; /* D9 */
|
/Zephyr-latest/boards/heltec/heltec_wifi_lora32_v2/ |
D | board_init.c | 2 * Copyright (c) 2021 Instituto de Pesquisas Eldorado (eldorado.org.br) 4 * SPDX-License-Identifier: Apache-2.0 11 #define VEXT_PIN DT_GPIO_PIN(DT_NODELABEL(vext), gpios) 12 #define OLED_RST DT_GPIO_PIN(DT_NODELABEL(oledrst), gpios) 20 return -ENODEV; in board_heltec_wifi_lora32_v2_init()
|
D | heltec_wifi_lora32_v2_procpu.dts | 2 * Copyright (c) 2021 Instituto de Pesquisas Eldorado (eldorado.org.br) 4 * SPDX-License-Identifier: Apache-2.0 6 /dts-v1/; 9 #include "heltec_wifi_lora32_v2-pinctrl.dtsi" 10 #include <zephyr/dt-bindings/input/input-event-codes.h> 14 model = "Heltec Wi-Fi Lora32 V2 PROCPU"; 18 uart-0 = &uart0; 19 i2c-0 = &i2c0; 27 compatible = "gpio-leds"; 29 gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>; [all …]
|
/Zephyr-latest/boards/shields/rk043fn66hs_ctg/ |
D | rk043fn66hs_ctg.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/display/panel.h> 16 compatible = "zephyr,lvgl-pointer-input"; 26 irq-gpios = <&nxp_i2c_touch_fpc 2 GPIO_ACTIVE_HIGH>; 27 reset-gpios = <&nxp_i2c_touch_fpc 1 GPIO_ACTIVE_LOW>; 35 display-timings { 36 compatible = "zephyr,panel-timing"; 37 hsync-len = <4>; 38 hfront-porch = <8>; 39 hback-porch = <43>; [all …]
|
/Zephyr-latest/dts/bindings/rtc/ |
D | microcrystal,rv-8263-c8.yaml | 1 # SPDX-License-Identifier: Apache-2.0 3 # Author: Daniel Kampert <DanielKampert@Kampis-Elektroecke.de> 5 description: Micro Crystal RV-8263-C8 RTC 7 compatible: "microcrystal,rv-8263-c8" 10 - name: rtc-device.yaml 11 - name: i2c-device.yaml 14 int-gpios: 15 type: phandle-array 21 - 32768 22 - 16384 [all …]
|
/Zephyr-latest/boards/shields/rtkmipilcdb00000be/ |
D | rtkmipilcdb00000be.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/display/panel.h> 15 compatible = "zephyr,lvgl-pointer-input"; 22 gt911_rtkmipilcdb00000be: gt911-rtkmipilcdb00000be@5d { 25 irq-gpios = <&renesas_mipi_connector 17 GPIO_ACTIVE_HIGH>; 26 reset-gpios = <&renesas_mipi_connector 18 GPIO_ACTIVE_LOW>; 34 compatible = "ilitek,ili9806e-dsi"; 38 data-lanes = <2>; 39 pixel-format = <MIPI_DSI_PIXFMT_RGB888>; 47 input-pixel-format = <PANEL_PIXEL_FORMAT_RGB_888>; [all …]
|
/Zephyr-latest/boards/shields/st_b_lcd40_dsi1_mb1166/ |
D | st_b_lcd40_dsi1_mb1166.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/display/panel.h> 11 compatible = "zephyr,lvgl-pointer-input"; 13 invert-y; 29 reset-gpios = <&dsi_lcd_qsh_030 57 GPIO_ACTIVE_HIGH>; 30 bl-gpios = <&dsi_lcd_qsh_030 53 GPIO_ACTIVE_HIGH>; 31 data-lanes = <2>; 32 pixel-format = <MIPI_DSI_PIXFMT_RGB888>; 41 pixel-format = <PANEL_PIXEL_FORMAT_RGB_888>; 43 display-timings { [all …]
|
D | st_b_lcd40_dsi1_mb1166_a09.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/display/panel.h> 11 compatible = "zephyr,lvgl-pointer-input"; 13 invert-y; 29 reset-gpios = <&dsi_lcd_qsh_030 57 GPIO_ACTIVE_HIGH>; 30 bl-gpios = <&dsi_lcd_qsh_030 53 GPIO_ACTIVE_HIGH>; 31 data-lanes = <2>; 32 pixel-format = <MIPI_DSI_PIXFMT_RGB888>; 41 pixel-format = <PANEL_PIXEL_FORMAT_RGB_888>; 43 display-timings { [all …]
|
/Zephyr-latest/boards/shields/rk043fn02h_ct/ |
D | rk043fn02h_ct.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/display/panel.h> 16 compatible = "zephyr,lvgl-pointer-input"; 26 int-gpios = <&nxp_i2c_touch_fpc 2 GPIO_ACTIVE_LOW>; 34 display-timings { 35 compatible = "zephyr,panel-timing"; 36 hsync-len = <41>; 37 hfront-porch = <4>; 38 hback-porch = <8>; 39 vsync-len = <10>; [all …]
|
/Zephyr-latest/boards/heltec/heltec_wireless_stick_lite_v3/ |
D | board_init.c | 2 * Copyright (c) 2021 Instituto de Pesquisas Eldorado (eldorado.org.br) 5 * SPDX-License-Identifier: Apache-2.0 12 #define VEXT_PIN DT_GPIO_PIN(DT_NODELABEL(vext), gpios) 20 return -ENODEV; in board_heltec_wireless_stick_lite_v3_init()
|
D | heltec_wireless_stick_lite_v3_procpu.dts | 2 * Copyright (c) 2021 Instituto de Pesquisas Eldorado (eldorado.org.br) 6 * SPDX-License-Identifier: Apache-2.0 8 /dts-v1/; 11 #include "heltec_wireless_stick_lite_v3-pinctrl.dtsi" 12 #include <zephyr/dt-bindings/pwm/pwm.h> 13 #include <zephyr/dt-bindings/input/input-event-codes.h> 14 #include <zephyr/dt-bindings/lora/sx126x.h> 22 pwm-0 = &ledc0; 23 pwm-led0 = &pwm_led_white; 24 uart-0 = &uart0; [all …]
|
/Zephyr-latest/doc/services/storage/disk/ |
D | access.rst | 15 API provides IOCTLs to initialize and de-initialize the disk. They are 22 * :c:macro:`DISK_IOCTL_CTRL_DEINIT`: De-initialize the disk. Once this IOCTL 26 Init/deinit IOCTL calls are balanced, so a disk will not de-initialize until 29 It is also possible to force a disk de-initialization by passing a 35 Note that de-initializing a disk is a low level operation- typically the 36 de-initialization and initialization calls should be left to the filesystem 38 de-initialize the disk and can instead call :c:func:`fs_unmount` 46 Both standard and high-capacity SD cards are supported. 69 .. code-block:: devicetree 73 cs-gpios = <&porta 27 GPIO_ACTIVE_LOW>; [all …]
|
/Zephyr-latest/boards/shields/rk055hdmipi4ma0/ |
D | rk055hdmipi4ma0.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/display/panel.h> 15 en_mipi_display_rk055hdmipi4ma0: enable-mipi-display-rk055hdmipi4ma0 { 16 compatible = "regulator-fixed"; 17 regulator-name = "en_mipi_display"; 18 enable-gpios = <&nxp_mipi_connector 32 GPIO_ACTIVE_HIGH>; 19 regulator-boot-on; 23 compatible = "zephyr,lvgl-pointer-input"; 30 gt911_rk055hdmipi4ma0: gt911-rk055hdmipi4ma0@5d { 33 irq-gpios = <&nxp_mipi_connector 29 GPIO_ACTIVE_HIGH>; [all …]
|
/Zephyr-latest/boards/shields/rk055hdmipi4m/ |
D | rk055hdmipi4m.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/display/panel.h> 15 en_mipi_display: enable-mipi-display { 16 compatible = "regulator-fixed"; 17 regulator-name = "en_mipi_display"; 18 enable-gpios = <&nxp_mipi_connector 32 GPIO_ACTIVE_HIGH>; 19 regulator-boot-on; 23 compatible = "zephyr,lvgl-pointer-input"; 33 irq-gpios = <&nxp_mipi_connector 29 GPIO_ACTIVE_HIGH>; 34 reset-gpios = <&nxp_mipi_connector 28 GPIO_ACTIVE_LOW>; [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/st/nucleo_f303k8/ |
D | nucleo_f303k8.dts | 2 * Copyright (c) 2020 Sebastian Schwabe <sebastian.schwabe@mailbox.tu-dresden.de> 3 * Fabian Paschke <fabian.paschke@eas.iis.fraunhofer.de> 5 * SPDX-License-Identifier: Apache-2.0 8 /dts-v1/; 10 #include <st/f3/stm32f303k(6-8)tx-pinctrl.dtsi> 13 model = "STMicroelectronics STM32F303K8-NUCLEO board"; 14 compatible = "st,stm32f303k8-nucleo"; 18 zephyr,shell-uart = &usart2; 24 compatible = "gpio-leds"; 26 gpios = <&gpiob 3 GPIO_ACTIVE_HIGH>; [all …]
|
/Zephyr-latest/boards/phytec/phyboard_lyra/ |
D | phyboard_lyra_am6234_m4.dts | 3 * Author: Daniel Schultz <d.schultz@phytec.de> 5 * SPDX-License-Identifier: Apache-2.0 8 /dts-v1/; 13 model = "PHYTEC phyBOARD-Lyra AM62x M4"; 14 compatible = "phytec,phyboard-lyra-am62xx-m4", "ti,am625"; 19 zephyr,shell-uart = &uart0; 30 clock-frequency = <400000000>; 35 compatible = "zephyr,memory-region", "mmio-sram"; 37 zephyr,memory-region = "DDR"; 41 compatible = "gpio-leds"; [all …]
|
/Zephyr-latest/boards/beagle/beagleconnect_freedom/ |
D | board_antenna.c | 6 * SPDX-License-Identifier: Apache-2.0 10 * Implements the RF driver callback to configure the on-board antenna 51 DT_FOREACH_PROP_ELEM_SEP(DT_NODELABEL(antenna_mux0), gpios, GPIO_DT_SPEC_GET_BY_IDX, (,))}; 61 /* default pinctrl configuration: set all antenna mux control pins as GPIOs */ in board_antenna_init() 63 /* set all GPIOs to 0 (all RF paths disabled) */ in board_antenna_init() 71 * Custom TI RFCC26XX callback for switching the on-board antenna mux on radio setup. 79 /* Clear all antenna switch GPIOs (for all cases). */ in board_cc13xx_rf_callback() 91 switch (setupCommand->common.commandNo) { in board_cc13xx_rf_callback() 94 loDivider = RF_LODIVIDER_MASK & setupCommand->common.loDivider; in board_cc13xx_rf_callback() 97 loDivider = RF_LODIVIDER_MASK & setupCommand->prop_div.loDivider; in board_cc13xx_rf_callback() [all …]
|
/Zephyr-latest/boards/arduino/opta/ |
D | arduino_opta-common.dtsi | 5 * SPDX-License-Identifier: Apache-2.0 10 compatible = "gpio-leds"; 13 gpios = <&gpioi 0 GPIO_ACTIVE_HIGH>; 16 gpios = <&gpioi 1 GPIO_ACTIVE_HIGH>; 19 gpios = <&gpioi 3 GPIO_ACTIVE_HIGH>; 22 gpios = <&gpioh 15 GPIO_ACTIVE_HIGH>; 25 gpios = <&gpioh 12 GPIO_ACTIVE_HIGH>; 28 gpios = <&gpioh 11 GPIO_ACTIVE_HIGH>; 31 gpios = <&gpioe 5 GPIO_ACTIVE_HIGH>; 36 compatible = "gpio-power-switches"; [all …]
|
/Zephyr-latest/boards/phytec/phyboard_electra/ |
D | phyboard_electra_am6442_m4.dts | 3 * Author: Daniel Schultz <d.schultz@phytec.de> 5 * SPDX-License-Identifier: Apache-2.0 8 /dts-v1/; 13 model = "PHYTEC phyBOARD-Electra AM64x M4"; 14 compatible = "phytec,phyboard-electra-am64xx-m4", "ti,am6442"; 19 zephyr,shell-uart = &uart0; 30 clock-frequency = <DT_FREQ_M(400)>; 35 compatible = "zephyr,memory-region", "mmio-sram"; 37 zephyr,memory-region = "DDR"; 41 compatible = "gpio-leds"; [all …]
|
/Zephyr-latest/boards/ti/common/ |
D | board_antenna.c | 4 * SPDX-License-Identifier: Apache-2.0 8 * Implements the RF driver callback to configure the on-board antenna 52 DT_FOREACH_PROP_ELEM_SEP(DT_NODELABEL(antenna_mux0), gpios, GPIO_DT_SPEC_GET_BY_IDX, (,))}; 62 /* default pinctrl configuration: set all antenna mux control pins as GPIOs */ in board_antenna_init() 64 /* set all GPIOs to 0 (all RF paths disabled) */ in board_antenna_init() 72 * Custom TI RFCC26XX callback for switching the on-board antenna mux on radio setup. 80 /* Clear all antenna switch GPIOs (for all cases). */ in board_cc13xx_rf_callback() 92 switch (setupCommand->common.commandNo) { in board_cc13xx_rf_callback() 95 loDivider = RF_LODIVIDER_MASK & setupCommand->common.loDivider; in board_cc13xx_rf_callback() 98 loDivider = RF_LODIVIDER_MASK & setupCommand->prop_div.loDivider; in board_cc13xx_rf_callback() [all …]
|