Home
last modified time | relevance | path

Searched +full:read +full:- +full:write +full:- +full:gpios (Results 1 – 25 of 77) sorted by relevance

1234

/Zephyr-latest/dts/bindings/mipi-dbi/
Dzephyr,mipi-dbi-bitbang.yaml3 # SPDX-License-Identifier: Apache-2.0
6 MIPI-DBI Mode A and B bit banging controller. This driver emulates MIPI DBI mode A and B (6800
9 compatible: "zephyr,mipi-dbi-bitbang"
11 include: ["mipi-dbi-controller.yaml", "pinctrl-device.yaml"]
15 dc-gpios:
16 type: phandle-array
21 reset-gpios:
22 type: phandle-array
27 rd-gpios:
28 type: phandle-array
[all …]
Dzephyr,mipi-dbi-spi.yaml2 # SPDX-License-Identifier: Apache-2.0
5 MIPI-DBI Mode C compatible SPI controller. This driver emulates MIPI DBI
7 compatible: "zephyr,mipi-dbi-spi"
9 include: ["mipi-dbi-controller.yaml", "pinctrl-device.yaml"]
12 spi-dev:
19 dc-gpios:
20 type: phandle-array
25 reset-gpios:
26 type: phandle-array
30 xfr-min-bits:
[all …]
/Zephyr-latest/dts/bindings/auxdisplay/
Dhit,hd44780.yaml4 # SPDX-License-Identifier: Apache-2.0
11 include: [auxdisplay-device.yaml]
17 description: Operating mode of display, 8-bit or 4 for 4-bit mode
19 - 4
20 - 8
22 register-select-gpios:
23 type: phandle-array
27 read-write-gpios:
28 type: phandle-array
29 description: Optional GPIO used for selecting read or write mode
[all …]
/Zephyr-latest/dts/bindings/sdhc/
Dnxp,imx-usdhc.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "nxp,imx-usdhc"
8 include: [sdhc.yaml, pinctrl-device.yaml]
14 data-timeout:
20 read-watermark:
24 Number of words used as read watermark level in FIFO queue for USDHC
26 write-watermark:
30 Number of words used as write watermark level in FIFO queue for USDHC
41 pwr-gpios:
42 type: phandle-array
[all …]
/Zephyr-latest/samples/drivers/auxdisplay/boards/
Desp_wrover_kit.overlay9 gpio-controller;
11 #gpio-cells = <2>;
21 boot-delay-ms = <100>;
22 enable-line-rise-delay-us = <1000>;
23 enable-line-fall-delay-us = <500>;
24 register-select-gpios = <&aux_display_gpio 0 (GPIO_ACTIVE_HIGH)>;
25 read-write-gpios = <&aux_display_gpio 1 (GPIO_ACTIVE_HIGH)>;
26 enable-gpios = <&aux_display_gpio 2 (GPIO_ACTIVE_HIGH)>;
27 backlight-gpios = <&aux_display_gpio 3 (GPIO_ACTIVE_HIGH)>;
28 data-bus-gpios = <0>, <0>, <0>, <0>,
/Zephyr-latest/dts/bindings/bluetooth/
Dzephyr,bt-hci-spi.yaml1 # Copyright (c) 2018, I-SENSE group of ICCS
2 # SPDX-License-Identifier: Apache-2.0
8 compatible: "zephyr,bt-hci-spi"
10 include: [spi-device.yaml, bt-hci.yaml]
13 irq-gpios:
14 type: phandle-array
17 reset-gpios:
18 type: phandle-array
21 reset-assert-duration-ms:
24 Minimum duration to hold the reset-gpios pin low for.
[all …]
/Zephyr-latest/tests/drivers/mspi/flash/boards/
Dnative_sim.overlay4 * SPDX-License-Identifier: Apache-2.0
15 ce-gpios = <&gpio0 5 GPIO_ACTIVE_LOW>,
17 dqs-support;
18 software-multiperipheral;
22 compatible = "zephyr,mspi-emul-flash";
25 mspi-max-frequency = <48000000>;
26 mspi-io-mode = "MSPI_IO_MODE_QUAD";
27 mspi-data-rate = "MSPI_DATA_RATE_SINGLE";
28 mspi-hardware-ce-num = <0>;
29 read-command = <0x0B>;
[all …]
Dapollo3p_evb.overlay3 * SPDX-License-Identifier: Apache-2.0
18 compatible = "ambiq,mspi-controller";
19 pinctrl-0 = <&mspi1_default>;
20 pinctrl-1 = <&mspi1_sleep>;
21 pinctrl-2 = <&mspi1_flash>;
22 pinctrl-names = "default","sleep","flash";
25 ce-gpios = <&gpio32_63 18 GPIO_ACTIVE_LOW>;
27 cmdq-buffer-location = ".mspi_buff";
28 cmdq-buffer-size = <256>;
31 compatible = "ambiq,mspi-device", "mspi-atxp032";
[all …]
/Zephyr-latest/samples/subsys/modbus/rtu_server/src/
Dmain.c5 * SPDX-License-Identifier: Apache-2.0
21 GPIO_DT_SPEC_GET(DT_ALIAS(led0), gpios),
22 GPIO_DT_SPEC_GET(DT_ALIAS(led1), gpios),
23 GPIO_DT_SPEC_GET(DT_ALIAS(led2), gpios),
29 return -ENOTSUP; in coil_rd()
38 LOG_INF("Coil read, addr %u, %d", addr, (int)*state); in coil_rd()
48 return -ENOTSUP; in coil_wr()
62 LOG_INF("Coil write, addr %u, %d", addr, (int)state); in coil_wr()
70 return -ENOTSUP; in holding_reg_rd()
75 LOG_INF("Holding register read, addr %u", addr); in holding_reg_rd()
[all …]
/Zephyr-latest/drivers/espi/
DKconfig.npcx4 # SPDX-License-Identifier: Apache-2.0
48 bool "Host can write 1/2/4 bytes of Port80 data in a eSPI transaction"
72 prompt "eSPI TAF Read Access Mode"
78 This is the setting to use auto mode for eSPI TAF read.
83 This is the setting to use manual mode for eSPI TAF read.
126 bool "Indicates that the eSPI hardware supports virtual wire GPIOs"
129 Selected if NPCX series supports virtual wire GPIOs in eSPI module.
/Zephyr-latest/doc/hardware/emulator/
Dbus_emulators.rst13 various subsystems. For example, it is possible to write an emulator
20 been completed. This allows for testing that high-level code can
27 The diagram below shows application code / high-level tests at the top.
49 Controller) on native_sim using emulators for all non-chip drivers.
53 * Write individual tests for each driver (green), covering all failure modes,
58 * Write tests for combinations of drivers, such as GPIOs provided by an I2C GPIO
59 expander driver talking over an I2C bus, with the GPIOs controlling a charger.
62 * Write a complex application that ties together all of these pieces and runs on
63 native_sim. We can develop on a host, use source-level debugging, etc.
66 (e.g. I2C, enough GPIOs), by adding Kconfig and devicetree fragments.
[all …]
/Zephyr-latest/boards/nxp/frdm_rw612/
Dfrdm_rw612_common.dtsi4 * SPDX-License-Identifier: Apache-2.0
7 #include "frdm_rw612-pinctrl.dtsi"
15 usart-0 = &flexcomm3;
16 i2c-0 = &flexcomm2;
17 pwm-0 = &sctimer;
24 zephyr,shell-uart = &flexcomm3;
28 compatible = "gpio-leds";
30 gpios = <&hsgpio0 12 0>;
36 compatible = "nxp,lpc-usart";
38 current-speed = <115200>;
[all …]
/Zephyr-latest/boards/seeed/wio_terminal/
Dwio_terminal.dts3 * SPDX-License-Identifier: Apache-2.0
6 /dts-v1/;
8 #include "wio_terminal-pinctrl.dtsi"
11 #include <zephyr/dt-bindings/display/ili9xxx.h>
12 #include <zephyr/dt-bindings/input/input-event-codes.h>
16 compatible = "seeed,wio-terminal";
21 zephyr,code-partition = &code_partition;
41 compatible = "gpio-leds";
44 gpios = <&porta 15 GPIO_ACTIVE_HIGH>;
50 compatible = "gpio-keys";
[all …]
/Zephyr-latest/include/zephyr/drivers/mfd/
Daxp192.h4 * SPDX-License-Identifier: Apache-2.0
41 * @brief Maximum number of GPIOs supported by AXP192 PMIC.
51 * The 6 GPIOS are mapped as follows:
74 * @retval -EINVAL if an invalid GPIO number is passed
75 * @retval -ENOTSUP if the requested function is not supported by the given
76 * @retval -errno in case of any bus error
82 * @brief Read out current configuration of a specific GPIO pin.
85 * @param gpio GPIO to read configuration from
88 * @retval -EINVAL if an invalid GPIO number is passed
89 * @retval -errno in case of any bus error
[all …]
/Zephyr-latest/samples/subsys/modbus/rtu_server/
DREADME.rst1 .. zephyr:code-sample:: modbus-rtu-server
3 :relevant-api: modbus
16 This sample has been tested with the nRF52840-DK and FRDM-K64F boards,
26 Using RS-485 transceiver
30 In addition to the evaluation board, an USB to RS-485 bus adapter and
31 a RS-485 shield are required. The shield converts UART TX, RX signals to RS-485.
32 An Arduino header compatible shield like `joy-it RS-485 shield for Arduino`_
34 on the JOY-IT shield. For other shields, ``de-gpios`` property must be adapted
38 The USB to RS-485 adapter connects to the USB port of a computer.
39 The two A+, B- lines should be connected to the RS-485 shield.
[all …]
/Zephyr-latest/boards/nxp/mimxrt1062_fmurt6/
Dmimxrt1062_fmurt6.dts2 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
10 #include "mimxrt1062_fmurt6-pinctrl.dtsi"
11 #include <zephyr/dt-bindings/pwm/pwm.h>
25 telem4-gps2 = &lpuart5;
29 zephyr,flash-controller = &s26ks512s0;
31 zephyr,code-partition = &slot0_partition;
32 zephyr,uart-mcumgr = &lpuart7;
37 zephyr,shell-uart = &lpuart7;
42 compatible = "gpio-leds";
[all …]
/Zephyr-latest/boards/atmel/sam/sam4s_xplained/
Dsam4s_xplained.dts3 * SPDX-License-Identifier: Apache-2.0
6 /dts-v1/;
9 #include "sam4s_xplained-pinctrl.dtsi"
10 #include <zephyr/dt-bindings/input/input-event-codes.h>
17 i2c-0 = &twi0;
18 i2c-1 = &twi1;
19 pwm-0 = &pwm0;
28 zephyr,shell-uart = &uart0;
34 compatible = "zephyr,memory-region", "mmio-sram";
37 zephyr,memory-region = "SRAM1";
[all …]
/Zephyr-latest/boards/nxp/mimxrt1160_evk/
Dmimxrt1160_evk.dtsi4 * SPDX-License-Identifier: Apache-2.0
7 #include "mimxrt1160_evk-pinctrl.dtsi"
9 #include <zephyr/dt-bindings/input/input-event-codes.h>
18 mcuboot-button0 = &user_button;
22 compatible = "gpio-leds";
23 green_led: led-1 {
24 gpios = <&gpio9 3 GPIO_ACTIVE_LOW>;
30 compatible = "gpio-keys";
31 user_button: button-1 {
33 gpios = <&gpio13 0 GPIO_ACTIVE_HIGH>;
[all …]
/Zephyr-latest/samples/drivers/mspi/mspi_flash/boards/
Dapollo3p_evb.overlay4 * SPDX-License-Identifier: Apache-2.0
23 pinctrl-0 = <&mspi1_default>;
24 pinctrl-1 = <&mspi1_sleep>;
25 pinctrl-2 = <&mspi1_psram>;
26 pinctrl-3 = <&mspi1_flash>;
27 pinctrl-names = "default","sleep","psram","flash";
30 ce-gpios = <&gpio64_95 5 GPIO_ACTIVE_LOW>,
33 cmdq-buffer-location = ".mspi_buff";
34 cmdq-buffer-size = <256>;
37 compatible = "ambiq,mspi-device", "mspi-aps6404l";
[all …]
/Zephyr-latest/boards/nxp/mimxrt1170_evk/
Dmimxrt1170_evk.dtsi4 * SPDX-License-Identifier: Apache-2.0
7 #include "mimxrt1170_evk-pinctrl.dtsi"
9 #include <zephyr/dt-bindings/input/input-event-codes.h>
19 pwm-led0 = &green_pwm_led;
20 mcuboot-button0 = &user_button;
24 compatible = "gpio-leds";
25 green_led: led-1 {
26 gpios = <&gpio9 3 GPIO_ACTIVE_HIGH>;
30 red_led: led-2 {
31 gpios = <&gpio9 25 GPIO_ACTIVE_LOW>;
[all …]
/Zephyr-latest/boards/nxp/mimxrt1180_evk/
Dmimxrt1180_evk.dtsi4 * SPDX-License-Identifier: Apache-2.0
7 #include "mimxrt1180_evk-pinctrl.dtsi"
8 #include <zephyr/dt-bindings/input/input-event-codes.h>
14 pwm-led0 = &green_pwm_led;
18 compatible = "gpio-leds";
19 green_led: led-1 {
20 gpios = <&gpio4 27 GPIO_ACTIVE_HIGH>;
26 compatible = "gpio-keys";
27 user_button: button-1 {
29 gpios = <&gpio1 4 (GPIO_PULL_UP | GPIO_ACTIVE_HIGH)>;
[all …]
/Zephyr-latest/drivers/lora/
Dsx127x.c5 * SPDX-License-Identifier: Apache-2.0
108 * Those macros must be in sync with 'power-amplifier-output' dts property.
125 BUILD_ASSERT(0, "None of rfo-enable-gpios, pa-boost-enable-gpios and "
126 "power-amplifier-output has been specified. "
127 "Look at semtech,sx127x-base.yaml to fix that.");
334 int dio = work - dev_data.dio_work; in sx127x_dio_work_handle()
344 pin = find_lsb_set(pins) - 1; in sx127x_irq_callback()
359 /* Setup DIO gpios */ in SX127xIoIrqInit()
367 sx127x_dios[i].port->name); in SX127xIoIrqInit()
389 static int sx127x_transceive(uint8_t reg, bool write, void *data, size_t length) in sx127x_transceive() argument
[all …]
/Zephyr-latest/samples/drivers/memc/boards/
Dapollo3p_evb.overlay4 * SPDX-License-Identifier: Apache-2.0
23 pinctrl-0 = <&mspi1_default>;
24 pinctrl-1 = <&mspi1_sleep>;
25 pinctrl-2 = <&mspi1_psram>;
26 pinctrl-names = "default","sleep","psram";
29 ce-gpios = <&gpio64_95 5 GPIO_ACTIVE_LOW>,
32 cmdq-buffer-location = ".mspi_buff";
33 cmdq-buffer-size = <256>;
36 compatible = "ambiq,mspi-device", "mspi-aps6404l";
40 mspi-max-frequency = <48000000>;
[all …]
/Zephyr-latest/samples/drivers/mspi/mspi_async/boards/
Dapollo3p_evb.overlay4 * SPDX-License-Identifier: Apache-2.0
23 pinctrl-0 = <&mspi1_default>;
24 pinctrl-1 = <&mspi1_sleep>;
25 pinctrl-2 = <&mspi1_psram>;
26 pinctrl-names = "default","sleep","psram";
29 ce-gpios = <&gpio64_95 5 GPIO_ACTIVE_LOW>,
32 cmdq-buffer-location = ".mspi_buff";
33 cmdq-buffer-size = <256>;
36 compatible = "ambiq,mspi-device", "mspi-aps6404l";
40 mspi-max-frequency = <48000000>;
[all …]
/Zephyr-latest/boards/nxp/frdm_mcxn947/
Dfrdm_mcxn947.dtsi4 * SPDX-License-Identifier: Apache-2.0
7 #include "frdm_mcxn947-pinctrl.dtsi"
8 #include <zephyr/dt-bindings/i2c/i2c.h>
9 #include <zephyr/dt-bindings/input/input-event-codes.h>
19 mcuboot-button0 = &user_button_2;
23 compatible = "gpio-leds";
25 gpios = <&gpio0 27 GPIO_ACTIVE_LOW>;
30 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
35 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
42 compatible = "gpio-keys";
[all …]

1234