Home
last modified time | relevance | path

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

12

/Zephyr-latest/dts/bindings/ieee802154/
Dti,cc2520.yaml2 # SPDX-License-Identifier: Apache-2.0
8 include: spi-device.yaml
11 vreg-en-gpios:
12 type: phandle-array
15 reset-gpios:
16 type: phandle-array
19 fifo-gpios:
20 type: phandle-array
23 cca-gpios:
24 type: phandle-array
[all …]
/Zephyr-latest/dts/bindings/dma/
Dgd,gd32-dma-v1.yaml2 # SPDX-License-Identifier: Apache-2.0
5 GD32 DMA controller with FIFO
12 - bit 6-7: Direction (see dma.h)
13 - 0x0: MEMORY to MEMORY
14 - 0x1: MEMORY to PERIPH
15 - 0x2: PERIPH to MEMORY
16 - 0x3: reserved for PERIPH to PERIPH
18 - bit 9: Peripheral address increase
19 - 0x0: no address increment between transfers
20 - 0x1: increment address between transfers
[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/tests/drivers/build_all/ieee802154/boards/
Dnative_sim.overlay5 * SPDX-License-Identifier: Apache-2.0
10 #address-cells = <1>;
11 #size-cells = <1>;
15 gpio-controller;
17 #gpio-cells = <0x2>;
22 #address-cells = <1>;
23 #size-cells = <0>;
27 clock-frequency = <2000000>;
30 cs-gpios = <&test_gpio 0 0>,
38 spi-max-frequency = <0>;
[all …]
/Zephyr-latest/boards/infineon/xmc47_relax_kit/
Dxmc47_relax_kit.dts2 * SPDX-License-Identifier: Apache-2.0
8 /dts-v1/;
11 #include <infineon/cat3/xmc/xmc4700_F144x2048-intc.dtsi>
12 #include <zephyr/dt-bindings/pwm/pwm.h>
13 #include "xmc47_relax_kit-pinctrl.dtsi"
22 die-temp0 = &die_temp;
23 pwm-led0 = &pwm_led1;
29 compatible = "gpio-leds";
32 gpios = <&gpio5 9 GPIO_ACTIVE_HIGH>;
35 gpios = <&gpio5 8 GPIO_ACTIVE_HIGH>;
[all …]
/Zephyr-latest/dts/bindings/sensor/
Dbosch,bmi08x-gyro.yaml2 # SPDX-License-Identifier: Apache-2.0
6 include: sensor-device.yaml
9 int-gpios:
10 type: phandle-array
16 int3-4-map-io:
20 Bit[2] will map the fifo interrupt on INT3
21 Bit[5] will map the fifo interrupt on INT4
24 int3-4-conf-io:
28 Bit[1]: if set to 1, INT3 is open-drain, otherwise it's push-pull
30 Bit[3]: if set to 1, INT4 is open-drain, otherwise it's push-pull
[all …]
Dst,lsm6dsv16x-common.yaml2 # SPDX-License-Identifier: Apache-2.0
5 When setting the accel-range, accel-odr, gyro-range, gyro-odr properties in
10 #include <zephyr/dt-bindings/sensor/lsm6dsv16x.h>
15 accel-range = <LSM6DSV16X_DT_FS_8G>;
16 accel-odr = <LSM6DSV16X_DT_ODR_AT_60Hz>;
17 gyro-range = <LSM6DSV16X_DT_FS_4000DPS>;
18 gyro-odr = <LSM6DSV16X_DT_ODR_AT_60Hz>;
21 include: sensor-device.yaml
24 int1-gpios:
25 type: phandle-array
[all …]
Dst,lis2dw12-common.yaml2 # SPDX-License-Identifier: Apache-2.0
9 #include <zephyr/dt-bindings/sensor/lis2dw12.h>
14 wakeup-duration = <LIS2DW12_DT_WAKEUP_4_ODR>;
15 ff-threshold = <LIS2DW12_DT_FF_THRESHOLD_500_mg>;
16 tap-mode = <LIS2DW12_DT_SINGLE_DOUBLE_TAP>;
17 power-mode = <LIS2DW12_DT_HP_MODE>;
18 bw-filt = <LIS2DW12_DT_FILTER_BW_ODR_DIV_2>;
21 include: sensor-device.yaml
24 irq-gpios:
25 type: phandle-array
[all …]
/Zephyr-latest/boards/infineon/xmc45_relax_kit/
Dxmc45_relax_kit.dts2 * SPDX-License-Identifier: Apache-2.0
9 /dts-v1/;
12 #include <infineon/cat3/xmc/xmc4500_F100x1024-intc.dtsi>
13 #include <zephyr/dt-bindings/pwm/pwm.h>
14 #include "xmc45_relax_kit-pinctrl.dtsi"
18 compatible = "infineon,xm4500-relax-kit", "infineon,xmc4500",
23 die-temp0 = &die_temp;
24 pwm-led0 = &pwm_led1;
30 compatible = "gpio-leds";
33 gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>;
[all …]
/Zephyr-latest/drivers/sensor/tdk/icm42688/
DKconfig1 # ICM42688-P Six-Axis Motion Tracking device configuration options
6 # SPDX-License-Identifier: Apache-2.0
9 bool "ICM42688 Six-Axis Motion Tracking Device"
15 Enable driver for ICM42688 SPI-based six-axis motion tracking device.
48 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_INVENSENSE_ICM42688),int-gpios)
54 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_INVENSENSE_ICM42688),int-gpios)
60 bool "Use hardware FIFO to stream data"
/Zephyr-latest/drivers/sensor/st/lsm6dsv16x/
DKconfig1 # ST Microelectronics LSM6DSV16X 6-axis IMU sensor driver
4 # SPDX-License-Identifier: Apache-2.0
24 bool "Use hardware FIFO to stream data"
45 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_ST_LSM6DSV16X),int1-gpios) ||\
46 $(dt_compat_any_has_prop,$(DT_COMPAT_ST_LSM6DSV16X),int2-gpios) ||\
53 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_ST_LSM6DSV16X),int1-gpios) ||\
54 $(dt_compat_any_has_prop,$(DT_COMPAT_ST_LSM6DSV16X),int2-gpios) ||\
/Zephyr-latest/dts/bindings/spi/
Dintel,penwell-spi.yaml3 # SPDX-License-Identifier: Apache-2.0
7 compatible: "intel,penwell-spi"
9 include: [spi-controller.yaml, pcie-device.yaml]
15 cs-gpios:
18 pw,cs-mode:
27 pw,cs-output:
37 pw,fifo-depth:
/Zephyr-latest/doc/services/device_mgmt/
Dec_host_cmd.rst45 discussion <https://github.com/zephyrproject-rtos/zephyr/issues/56091>`_.
51 .. code-block:: devicetree
57 compatible = "st,stm32-spi-host-cmd";
62 dma-names = "tx", "rx";
64 cs-gpios = <&gpioa 4 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
67 The STM32 SPI host command backend driver supports the :dtcompatible:`st,stm32h7-spi` and
68 :dtcompatible:`st,stm32-spi-fifo` variant implementations. To enable these variants, append the
69 corresponding compatible string. For example, to enable FIFO support and support for the STM32H7
72 .. code-block:: devicetree
75 compatible = "st,stm32h7-spi", "st,stm32-spi-fifo", "st,stm32-spi-host-cmd";
[all …]
/Zephyr-latest/drivers/sensor/adi/adxl362/
DKconfig1 # ADXL362 Three-Axis Digital Accelerometers
4 # SPDX-License-Identifier: Apache-2.0
13 Enable driver for ADXL362 Three-Axis Digital Accelerometers.
74 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_ADI_ADXL362),int1-gpios)
80 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_ADI_ADXL362),int1-gpios)
86 bool "Use FIFO to stream data"
145 0 - Default mode
146 1 - Linked mode
147 3 - Loop mode
155 0 - Absolute mode
[all …]
/Zephyr-latest/drivers/sensor/adi/adxl367/
DKconfig1 # Micropower, 3-Axis, +/-200g Digital Accelerometer
4 # SPDX-License-Identifier: Apache-2.0
7 bool "ADXL367 Three Axis High-g I2C/SPI accelerometer"
15 Enable driver for ADXL367 Three-Axis Digital Accelerometers.
39 int "In-activity threshold in raw value"
43 Threshold for in-activity detection.
57 int "In-activity time"
109 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_ADI_ADXL367),int1-gpios)
115 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_ADI_ADXL367),int1-gpios)
121 bool "Use FIFO to stream data"
/Zephyr-latest/drivers/sensor/adi/adxl372/
DKconfig1 # Micropower, 3-Axis, +/-200g Digital Accelerometer
4 # SPDX-License-Identifier: Apache-2.0
7 bool "ADXL372 Three Axis High-g I2C/SPI accelerometer"
14 Enable driver for ADXL372 Three-Axis Digital Accelerometers.
25 In most high-g applications, a single (3-axis) acceleration sample at
47 int "In-activity threshold in mg"
51 Threshold for in-activity detection.
66 int "In-activity time"
77 bool "Use referenced activity/in-activity detection"
99 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_ADI_ADXL372),int1-gpios)
[all …]
/Zephyr-latest/samples/basic/threads/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
32 void *fifo_reserved; /* 1st word reserved for use by fifo */
45 .spec = GPIO_DT_SPEC_GET_OR(LED0_NODE, gpios, {0}),
50 .spec = GPIO_DT_SPEC_GET_OR(LED1_NODE, gpios, {0}),
56 const struct gpio_dt_spec *spec = &led->spec; in blink()
60 if (!device_is_ready(spec->port)) { in blink()
61 printk("Error: %s device is not ready\n", spec->port->name); in blink()
68 ret, spec->pin, led->num); in blink()
73 gpio_pin_set(spec->port, spec->pin, cnt % 2); in blink()
106 rx_data->led, rx_data->cnt); in uart_out()
/Zephyr-latest/samples/boards/espressif/light_sleep/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
29 GPIO_DT_SPEC_GET_OR(SW0_NODE, gpios, {0});
34 printk("Error: button device %s is not ready\n", button.port->name); in main()
58 * need to wait until UART TX FIFO is empty in main()
66 * pre-defined power state. Light sleep is used here because there is enough in main()
67 * time to consider it, energy-wise, worthy. in main()
92 wakeup_reason, t_after_ms, (t_after_ms - t_before_ms)); in main()
/Zephyr-latest/dts/x86/intel/
Dalder_lake.dtsi4 * SPDX-License-Identifier: Apache-2.0
8 #include <zephyr/dt-bindings/interrupt-controller/intel-ioapic.h>
9 #include <zephyr/dt-bindings/i2c/i2c.h>
10 #include <zephyr/dt-bindings/pcie/pcie.h>
11 #include <zephyr/dt-bindings/gpio/gpio.h>
16 #address-cells = <1>;
17 #size-cells = <0>;
21 compatible = "intel,alder-lake", "intel,x86_64";
22 d-cache-line-size = <64>;
28 compatible = "intel,alder-lake";
[all …]
Draptor_lake_p.dtsi3 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/interrupt-controller/intel-ioapic.h>
8 #include <zephyr/dt-bindings/pcie/pcie.h>
9 #include <zephyr/dt-bindings/gpio/gpio.h>
10 #include <zephyr/dt-bindings/i2c/i2c.h>
14 #address-cells = <1>;
15 #size-cells = <0>;
18 compatible = "intel,raptor-lake", "intel,x86_64";
20 d-cache-line-size = <64>;
33 interrupt-controller;
[all …]
Draptor_lake_s.dtsi3 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/interrupt-controller/intel-ioapic.h>
8 #include <zephyr/dt-bindings/i2c/i2c.h>
9 #include <zephyr/dt-bindings/pcie/pcie.h>
10 #include <zephyr/dt-bindings/gpio/gpio.h>
14 #address-cells = <1>;
15 #size-cells = <0>;
19 compatible = "intel,raptor-lake", "intel,x86_64";
20 d-cache-line-size = <64>;
33 #address-cells = <1>;
[all …]
/Zephyr-latest/drivers/serial/
Duart_mchp_xec.c2 * Copyright (c) 2010, 2012-2015 Wind River Systems, Inc.
6 * SPDX-License-Identifier: Apache-2.0
58 #define REG_FCR 0x02 /* FIFO control reg. */
84 /* equates for FIFO control register */
86 #define FCR_FIFO 0x01 /* enable XMIT and RCVR FIFO */
87 #define FCR_RCVRCLR 0x02 /* clear RCVR FIFO */
88 #define FCR_XMITCLR 0x04 /* clear XMIT FIFO */
94 * the FIFO Mode (FCR0 = 1, FCR3 = 0) and there is at least 1
95 * character in the RCVR FIFO or RCVR holding register, the
97 * RXRDY pin will go inactive when there are no more charac-
[all …]
Duart_ifx_cat1.c5 * SPDX-License-Identifier: Apache-2.0
12 * - Uart ASYNC functionality is not implemented in current
75 /* Level triggers when at least one element is in FIFO */
79 /* Level triggers when half-fifo is half empty */
80 .txFifoTriggerLevel = (CY_SCB_FIFO_SIZE / 2 - 1),
164 return -1; in _get_hw_block_num()
170 struct ifx_cat1_uart_data *data = dev->data; in ifx_cat1_uart_poll_in()
172 rec = cyhal_uart_getc(&data->obj, c, 0u); in ifx_cat1_uart_poll_in()
174 return ((rec == CY_SCB_UART_RX_NO_DATA) ? -1 : 0); in ifx_cat1_uart_poll_in()
179 struct ifx_cat1_uart_data *data = dev->data; in ifx_cat1_uart_poll_out()
[all …]
/Zephyr-latest/dts/riscv/ite/
Dit81xx2.dtsi4 * SPDX-License-Identifier: Apache-2.0
11 gpiogcr: gpio-gcr@f01600 {
12 compatible = "ite,it8xxx2-gpiogcr";
17 compatible = "ite,it8xxx2-gpiokscan";
23 reg-names = "goen", "gctrl", "gdat", "gdmr", "gpod";
25 gpio-controller;
26 #gpio-cells = <2>;
30 compatible = "ite,it8xxx2-gpiokscan";
36 reg-names = "goen", "gctrl", "gdat", "gdmr", "gpod";
38 gpio-controller;
[all …]
/Zephyr-latest/drivers/ethernet/
Deth_smsc911x.c2 * Copyright (c) 2017-2018 ARM Limited
5 * SPDX-License-Identifier: Apache-2.0
61 SMSC9220->MAC_CSR_CMD = cmd; in smsc_mac_regread()
63 while ((SMSC9220->MAC_CSR_CMD & MAC_CSR_CMD_BUSY) != 0) { in smsc_mac_regread()
66 *val = SMSC9220->MAC_CSR_DATA; in smsc_mac_regread()
75 SMSC9220->MAC_CSR_DATA = val; in smsc_mac_regwrite()
77 SMSC9220->MAC_CSR_CMD = cmd; in smsc_mac_regwrite()
79 while ((SMSC9220->MAC_CSR_CMD & MAC_CSR_CMD_BUSY) != 0) { in smsc_mac_regwrite()
92 return -1; in smsc_phy_regread()
97 return -EBUSY; in smsc_phy_regread()
[all …]

12