Home
last modified time | relevance | path

Searched +full:re +full:- +full:gpios (Results 1 – 25 of 67) sorted by relevance

123

/Zephyr-latest/tests/subsys/modbus/boards/
Dfrdm_k64f.overlay4 * 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/dts/bindings/misc/
Dzephyr,modbus-serial.yaml2 # 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/drivers/build_all/charger/
Di2c.dtsi3 * SPDX-License-Identifier: Apache-2.0
15 constant-charge-current-max-microamp = <1000000>;
16 constant-charge-voltage-max-microvolt = <4208000>;
18 ce-gpios = <&test_gpio 0 0>;
27 compatible = "maxim,max20335-charger";
29 chgin-to-sys-current-limit-microamp = <100000>;
30 constant-charge-voltage-max-microvolt = <4050000>;
31 system-voltage-min-threshold-microvolt = <3600000>;
32 re-charge-threshold-microvolt = <170000>;
33 thermistor-monitoring-mode = "JEITA-2";
[all …]
/Zephyr-latest/boards/arduino/opta/
Darduino_opta-common.dtsi5 * 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/dts/bindings/charger/
Dmaxim,max20335-charger.yaml2 # SPDX-License-Identifier: Apache-2.0
8 compatible: "maxim,max20335-charger"
11 constant-charge-voltage-max-microvolt:
14 - 4050000
15 - 4100000
16 - 4150000
17 - 4200000
18 - 4250000
19 - 4300000
20 - 4350000
[all …]
/Zephyr-latest/boards/franzininho/esp32s2_franzininho/doc/
Dindex.rst6 …n educational development board based on ESP32-S2 which is a highly integrated, low-power, single-
7 designed to be secure and cost-effective, with a high performance and a rich set of IO capabilities…
11 - RSA-3072-based secure boot
12 - AES-XTS-256-based flash encryption
13 - Protected private key and device secrets from software access
14 - Cryptographic accelerators for enhanced performance
15 - Protection against physical fault injection attacks
16 - Various peripherals:
18 - 43x programmable GPIOs
19 - 14x configurable capacitive touch GPIOs
[all …]
/Zephyr-latest/soc/nordic/
DKconfig3 # Copyright (c) 2016-2018 Nordic Semiconductor ASA
4 # SPDX-License-Identifier: Apache-2.0
7 # re-usable outside the Zephyr tree.
26 The functions are always available when not in non-secure.
27 For non-secure the functions must redirect to secure services exposed
33 By default, if we build for a Non-Secure version of the board,
34 enable building with TF-M as the Secure Execution Environment.
41 By default, if we build with TF-M, instruct build system to
42 flash the combined TF-M (Secure) & Zephyr (Non Secure) image
45 default y if !$(dt_nodelabel_has_prop,uart1,pinctrl-names)
[all …]
/Zephyr-latest/samples/basic/blinky/
DREADME.rst1 .. zephyr:code-sample:: blinky
3 :relevant-api: gpio_interface
14 #. Get a pin specification from the :ref:`devicetree <dt-guide>` as a
19 See :zephyr:code-sample:`pwm-blinky` for a similar sample that uses the PWM API instead.
21 .. _blinky-sample-requirements:
37 .. zephyr-app-commands::
38 :zephyr-app: samples/basic/blinky
54 On GCC-based toolchains, the error looks like this:
56 .. code-block:: none
65 .. code-block:: DTS
[all …]
/Zephyr-latest/doc/build/dts/
Dphandles.rst1 .. _dt-phandles:
19 .. code-block:: DTS
22 lbl_a: node-1 {};
23 lbl_b: lbl_c: node-2 {};
28 - ``/node-1`` as ``&lbl_a``
29 - ``/node-2`` as either ``&lbl_b`` or ``&lbl_c``
40 :ref:`dt-bindings-properties` in the devicetree bindings documentation.
47 You can use phandles to refer to ``node-b`` from ``node-a``, where ``node-b``
48 is related to ``node-a`` in some way.
50 One common example is when ``node-a`` represents some hardware that
[all …]
/Zephyr-latest/samples/boards/nordic/mesh/onoff-app/src/
Dmain.c1 /* main.c - Application main entry point */
6 * SPDX-License-Identifier: Apache-2.0
10 * This application is specific to the Nordic nRF52840-PDK board.
94 * it is re-transmitted several times. This occurs
157 { .led_device = GPIO_DT_SPEC_GET(DT_ALIAS(led0), gpios), },
158 { .led_device = GPIO_DT_SPEC_GET(DT_ALIAS(led1), gpios), },
159 { .led_device = GPIO_DT_SPEC_GET(DT_ALIAS(led2), gpios), },
160 { .led_device = GPIO_DT_SPEC_GET(DT_ALIAS(led3), gpios), },
253 GPIO_DT_SPEC_GET(DT_ALIAS(sw0), gpios),
254 GPIO_DT_SPEC_GET(DT_ALIAS(sw1), gpios),
[all …]
/Zephyr-latest/boards/espressif/esp32_ethernet_kit/doc/
Dindex.rst6 The ESP32-Ethernet-Kit is an Ethernet-to-Wi-Fi development board that enables
7 Ethernet devices to be interconnected over Wi-Fi. At the same time, to provide
8 more flexible power supply options, the ESP32-Ethernet-Kit also supports power
11 .. _get-started-esp32-ethernet-kit-v1.2-overview:
13 ESP32-Ethernet-Kit is an ESP32-WROVER-E based development.
14 For more information, check the datasheet at `ESP32-WROVER-E Datasheet`_.
17 board B. The `Ethernet Board (A)`_ contains Bluetooth/Wi-Fi dual-mode
18 ESP32-WROVER-E module and IP101GRI, a Single Port 10/100 Fast Ethernet
23 .. _get-started-esp32-ethernet-kit-v1.2:
25 .. figure:: img/esp32-ethernet-kit-v1.2.jpg
[all …]
/Zephyr-latest/soc/microchip/mec/
DKconfig5 # SPDX-License-Identifier: Apache-2.0
18 Boot-ROM. Use the full Microchip SPI image generator program for
19 authentication and all other Boot-ROM loader features. Refer to the MCHP
65 bool "SPI flash operates full-duplex with frequency (< 25 MHz)"
68 bool "SPI flash operates full-duplex with fast reading mode"
226 pin is ignored. All other JTAG pins can be used as GPIOs
227 or other non-JTAG alternate functions.
251 ETM re-assigns 5 pins for clock and 4-bit data bus.
/Zephyr-latest/drivers/i2c/
Di2c_esp32.c5 * SPDX-License-Identifier: Apache-2.0
10 /* Include esp-idf headers first to avoid redefining BIT() macro */
31 #include "i2c-priv.h"
44 #define I2C_CLOCK_INVALID (-1)
151 const struct i2c_esp32_config *config = dev->config; in i2c_esp32_config_pin()
154 if (config->index >= SOC_I2C_NUM) { in i2c_esp32_config_pin()
156 return -EINVAL; in i2c_esp32_config_pin()
159 gpio_pin_set_dt(&config->sda.gpio, 1); in i2c_esp32_config_pin()
160 ret = gpio_pin_configure_dt(&config->sda.gpio, GPIO_PULL_UP | GPIO_OUTPUT | GPIO_INPUT); in i2c_esp32_config_pin()
161 esp_rom_gpio_matrix_out(config->sda.gpio.pin, config->sda.sig_out, 0, 0); in i2c_esp32_config_pin()
[all …]
/Zephyr-latest/boards/espressif/esp32s2_saola/doc/
Dindex.rst6 ESP32-S2-Saola is a small-sized ESP32-S2 based development board produced by Espressif.
8 Developers can either connect peripherals with jumper wires or mount ESP32-S2-Saola on a breadboard.
9 For more information, check `ESP32-S3-DevKitC`_.
14 ESP32-S2 is a highly integrated, low-power, single-core Wi-Fi Microcontroller SoC, designed to be s…
15 cost-effective, with a high performance and a rich set of IO capabilities.
19 - RSA-3072-based secure boot
20 - AES-XTS-256-based flash encryption
21 - Protected private key and device secrets from software access
22 - Cryptographic accelerators for enhanced performance
23 - Protection against physical fault injection attacks
[all …]
/Zephyr-latest/boards/espressif/esp32s2_devkitc/doc/
Dindex.rst6 ESP32-S2-DevKitC is an entry-level development board. This board integrates complete Wi-Fi function…
8 Developers can either connect peripherals with jumper wires or mount ESP32-S2-DevKitC on a breadboa…
9 For more information, check `ESP32-S2-DevKitC`_.
14 ESP32-S2 is a highly integrated, low-power, single-core Wi-Fi Microcontroller SoC, designed to be s…
15 cost-effective, with a high performance and a rich set of IO capabilities.
19 - RSA-3072-based secure boot
20 - AES-XTS-256-based flash encryption
21 - Protected private key and device secrets from software access
22 - Cryptographic accelerators for enhanced performance
23 - Protection against physical fault injection attacks
[all …]
/Zephyr-latest/drivers/gpio/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
7 bool "General-Purpose Input/Output (GPIO) drivers"
14 module-str = gpio
70 of GPIOs. The driver must implement it to work.
88 bool "Support for enable/disable interrupt without re-config [EXPERIMENTAL]"
96 # zephyr-keep-sorted-start
192 # zephyr-keep-sorted-stop
/Zephyr-latest/boards/espressif/esp32c6_devkitc/doc/
Dindex.rst6 ESP32-C6-DevKitC is an entry-level development board based on ESP32-C6-WROOM-1(U),
7 a general-purpose module with a 8 MB SPI flash. This board integrates complete Wi-Fi,
8 Bluetooth LE, Zigbee, and Thread functions. For more information, check `ESP32-C6-DevKitC`_.
13 ESP32-C6 is Espressif's first Wi-Fi 6 SoC integrating 2.4 GHz Wi-Fi 6, Bluetooth 5.3 (LE) and the
14 802.15.4 protocol. ESP32-C6 achieves an industry-leading RF performance, with reliable security
16 It consists of a high-performance (HP) 32-bit RISC-V processor, which can be clocked up to 160 MHz,
17 and a low-power (LP) 32-bit RISC-V processor, which can be clocked up to 20 MHz.
20 ESP32-C6-DevKitC is an entry-level development board based on ESP32-C6-WROOM-1(U),
21 a general-purpose module with a 8 MB SPI flash.
24 Developers can either connect peripherals with jumper wires or mount ESP32-C6-DevKitC on
[all …]
/Zephyr-latest/doc/releases/
Dmigration-guide-3.6.rst35 instead use the new ``-DFILE_SUFFIX`` feature :ref:`application-file-suffixes`.
57 * NXP: Enabled :ref:`linkserver<linkserver-debug-host-tools>` to be the default runner on the
72 To enable them again use the ``west config manifest.project-filter -- +<module
73 name>`` command, or ``west config manifest.group-filter -- +optional`` to
81 command e.g. ``west flash --erase``. (:github:`64703`)
86 * If you have zcbor-generated code that relies on the zcbor libraries through Zephyr, you must
123 macro avoids run-time string comparisons, and is also safer because it will
126 .. list-table::
127 :header-rows: 1
129 * - Removed macro
[all …]
/Zephyr-latest/doc/hardware/peripherals/
Dmspi.rst3 Multi-bit SPI Bus
6 The MSPI (multi-bit SPI) is provided as a generic API to accommodate
16 .. _mspi-controller-api:
21 Zephyr's MSPI controller API may be used when a multi-bit SPI controller
25 not limited to high-speed, high density flash/psram memory devices, displays
30 The relationship between the controller and device drivers is many-to-many to
57 to re-initialize the hardware with new parameters during runtime.
112 The mspi controller's bindings should reference mspi-controller.yaml as one of the base.
114 .. code-block:: devicetree
118 compatible = "zephyr,mspi-emul-controller";
[all …]
/Zephyr-latest/scripts/dts/python-devicetree/src/devicetree/
Dedtlib.py3 # SPDX-License-Identifier: BSD-3-Clause
17 but a binding can also come from a 'child-binding:' key in the binding for the
23 The top-level entry points for the library are the EDT and Binding classes.
31 # --------------------
47 # - Consider using @property for APIs that don't need parameters. It makes
51 # - Think about the data type of the thing you're exposing. Exposing something
55 # - Avoid get_*() prefixes on functions. Name them after the thing they return
60 # - Don't expose dtlib stuff directly.
62 # - Add documentation for any new APIs you add.
77 import re
[all …]
/Zephyr-latest/boards/espressif/esp8684_devkitm/doc/
Dindex.rst6 The ESP8684-DevKitM is an entry-level development board based on ESP8684-MINI-1, a general-purpose
7 module with 1 MB/2 MB/4 MB SPI flash. This board integrates complete Wi-Fi and Bluetooth LE functio…
8 For more information, check `ESP8684-DevKitM User Guide`_
13 ESP32-C2 (ESP8684 core) is a low-cost, Wi-Fi 4 & Bluetooth 5 (LE) chip. Its unique design
14 makes the chip smaller and yet more powerful than ESP8266. ESP32-C2 is built around a RISC-V
15 32-bit, single-core processor, with 272 KB of SRAM (16 KB dedicated to cache) and 576 KB of ROM.
16 ESP32-C2 has been designed to target simple, high-volume, and low-data-rate IoT applications,
17 such as smart plugs and smart light bulbs. ESP32-C2 offers easy and robust wireless connectivity,
18 which makes it the go-to solution for developing simple, user-friendly and reliable
19 smart-home devices. For more information, check `ESP8684 Datasheet`_.
[all …]
/Zephyr-latest/tests/lib/devicetree/api/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
126 "vnd,gpio-device"), ""); in ZTEST()
127 zassert_true(!strcmp(DT_PROP_LAST(TEST_DEADBEEF, compatible), "vnd,gpio-device"), ""); in ZTEST()
140 "vnd,gpio-device"), ""); in ZTEST()
156 "vnd,gpio-device"), ""); in ZTEST()
169 "vnd,gpio-device"), ""); in ZTEST()
190 "vnd,gpio-device"), ""); in ZTEST()
199 "vnd,gpio-device"), ""); in ZTEST()
284 zassert_equal(DT_PROP_OR(TEST_REG, not_a_property, -1), -1, ""); in ZTEST()
287 zassert_equal(DT_PHA_BY_IDX_OR(TEST_TEMP, dmas, 1, not_a_cell, -1), -1, in ZTEST()
[all …]
/Zephyr-latest/boards/others/esp32c3_supermini/doc/
Dindex.rst6 ESP32-C3-SUPERMINI is based on the ESP32-C3, a single-core Wi-Fi and Bluetooth 5 (LE) microcontroll…
7 based on the open-source RISC-V architecture. This board also includes a Type-C USB Serial/JTAG por…
8 …information a reasonbly well documented version of this board can be found at `ESP32-C3-SUPERMINI`_
15 - IEEE 802.11 b/g/n-compliant
16 - Bluetooth 5, Bluetooth mesh
17 - 32-bit RISC-V single-core processor, up to 160MHz
18 - 384 KB ROM
19 - 400 KB SRAM (16 KB for cache)
20 - 8 KB SRAM in RTC
21 - 22 x programmable GPIOs
[all …]
/Zephyr-latest/boards/st/nucleo_l031k6/doc/
Dindex.rst5 The STM32 Nucleo-32 development board with STM32L031K6 MCU, supports Arduino Nano V3 connectivity.
15 The STM32 Nucleo board integrates the ST-LINK/V2-1 debugger and programmer.
26 - STM32 microcontroller in LQFP32 package
27 - Extension resource:
29 - Arduino* Nano V3 connectivity
31 - On-board ST-LINK/V2-1 debugger/programmer with SWD connector:
33 - Selection-mode switch to use the kit as a standalone ST-LINK/V2-1
35 - Flexible board power supply:
37 - USB VBUS or external source (3.3V, 5V, 7 - 12V)
38 - Power management access point
[all …]
/Zephyr-latest/boards/st/nucleo_g031k8/doc/
Dindex.rst5 The STM32 Nucleo-32 board provides an affordable and flexible way for users to try
14 The STM32 Nucleo-32 board does not require any separate probe as it integrates the
15 ST-LINK debugger/programmer.
17 The STM32 Nucleo-32 board comes with the STM32 comprehensive free software
27 - STM32 microcontroller in 32-pin package featuring 64 Kbytes of Flash memory
29 - Extension resource:
31 - Arduino* Nano V3 connectivity
33 - On-board ST-LINK/V2-1 debugger/programmer with SWD connector:
35 - Flexible board power supply:
37 - USB VBUS or external source (3.3V, 5V, 7 - 12V)
[all …]

123