Home
last modified time | relevance | path

Searched +full:falling +full:- +full:edge (Results 1 – 25 of 71) sorted by relevance

123

/Zephyr-latest/dts/bindings/display/panel/
Dpanel-timing.yaml2 # SPDX-License-Identifier: Apache-2.0
9 a panel under display-timings node. For example:
12 display-timings {
13 compatible = "zephyr,panel-timing";
14 hsync-len = <8>;
15 hfront-porch = <32>;
16 hback-porch = <32>;
17 vsync-len = <2>;
18 vfront-porch = <16>;
19 vback-porch = <14>;
[all …]
/Zephyr-latest/dts/bindings/gpio/
Dzephyr,gpio-emul.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "zephyr,gpio-emul"
8 include: [gpio-controller.yaml, base.yaml]
11 rising-edge:
12 description: Enables support for rising edge interrupt detection
15 falling-edge:
16 description: Enables support for falling edge interrupt detection
19 high-level:
23 low-level:
27 "#gpio-cells":
[all …]
/Zephyr-latest/include/zephyr/drivers/interrupt_controller/
Dgd32_exti.h4 * SPDX-License-Identifier: Apache-2.0
22 /** Trigger on rising edge */
24 /** Trigger on falling edge */
26 /** Trigger on rising and falling edge */
64 * @retval -EALREADY If callback is already set and @p cb is not NULL.
Dintc_wkpu_nxp_s32.h2 * Copyright 2023-2024 NXP
4 * SPDX-License-Identifier: Apache-2.0
8 * @brief Driver for Wake-up interrupt/event controller in NXP S32 MCUs
21 /** Interrupt triggered on rising edge */
23 /** Interrupt triggered on falling edge */
25 /** Interrupt triggered on either edge */
47 * @retval -EBUSY if callback for the line is already set
53 * @brief Set edge event and enable interrupt for WKPU line
Dintc_xmc4xxx.h4 * SPDX-License-Identifier: Apache-2.0
15 * @param mode Level or edge interrupt
16 * @param trig Trigger edge type (falling, rising or both)
21 * @retval -ENOTSUP If the specific port_id/pin combination is not supported or
23 * @retval -EBUSY If the interrupt line is already used by a different port_id/pin
24 * @retval -EINVAL If the trigger combination is invalid
37 * @retval -EINVAL If the specific port_id and pin combination has no interrupt
Dgpio_intc_stm32.h2 * Copyright (c) 2016 Open-RnD Sp. z o.o.
5 * SPDX-License-Identifier: Apache-2.0
52 /* Trigger on rising edge */
54 /* Trigger on falling edge */
56 /* Trigger on both rising and falling edge */
88 * @returns 0 on success, -EBUSY if a callback is already set for @p line
100 /** Hardware-specific API extensions */
102 #if defined(CONFIG_EXTI_STM32) /* EXTI-specific extensions */
Dintc_eirq_nxp_s32.h4 * SPDX-License-Identifier: Apache-2.0
22 /** Interrupt triggered on rising edge */
24 /** Interrupt triggered on falling edge */
26 /** Interrupt triggered on either edge */
48 * @retval -EBUSY if callback for the interrupt is already set
Dnxp_pint.h4 * SPDX-License-Identifier: Apache-2.0
32 /* Generate Pin Interrupt on rising edge */
34 /* Generate Pin Interrupt on falling edge */
51 * 0-64, corresponding to GPIO0 pin 1 - GPIO1 pin 31)
Dsam0_eic.h4 * SPDX-License-Identifier: Apache-2.0
20 /* Rising edge */
22 /* Falling edge */
/Zephyr-latest/samples/subsys/tracing/
Dgpio.overlay4 * SPDX-License-Identifier: Apache-2.0
10 compatible = "zephyr,gpio-emul";
11 rising-edge;
12 falling-edge;
13 high-level;
14 low-level;
15 gpio-controller;
16 #gpio-cells = < 0x2 >;
/Zephyr-latest/include/zephyr/dt-bindings/interrupt-controller/
Dit8xxx2-wuc.h4 * SPDX-License-Identifier: Apache-2.0
10 #include <zephyr/dt-bindings/dt-util.h>
19 /** WUC rising edge trigger mode */
21 /** WUC falling edge trigger mode */
23 /** WUC both edge trigger mode */
/Zephyr-latest/dts/bindings/pinctrl/
Dnuvoton,npcx-pinctrl.yaml2 # SPDX-License-Identifier: Apache-2.0
10 - bias-pull-down: Enable pull-down resistor.
11 - bias-pull-up: Enable pull-up resistor.
12 - drive-open-drain: Output driver is open-drain.
15 - pinmux-locked: Lock pinmux configuration for peripheral device
16 - pinmux-gpio: Inverse pinmux back to gpio
17 - psl-in-mode: Select the assertion detection mode of PSL input
18 - psl-in-pol: Select the assertion detection polarity of PSL input
23 #include <nuvoton/npcx/npcx7/npcx7-pinctrl.dtsi>
26 internal 3.3V pull-up if its i2c frequency won't exceed 400kHz.
[all …]
Dti,cc13xx-cc26xx-pinctrl.yaml2 # SPDX-License-Identifier: Apache-2.0
24 - bias-disable: Disable pull-up/down.
25 - bias-pull-down: Enable pull-down resistor.
26 - bias-pull-up: Enable pull-up resistor.
27 - drive-open-drain: Output driver is open-drain.
28 - drive-open-drain: Output driver is open-source.
29 - drive-strength: Minimum current that can be sourced from the pin.
30 - input-enable: enable input.
31 - input-schmitt-enable: enable input schmitt circuit.
32 - ti,input-edge-detect: enable and configure edge detection interrupts
[all …]
/Zephyr-latest/dts/bindings/stepper/adi/
Dadi,tmc2209.yaml1 # SPDX-FileCopyrightText: Copyright (c) 2024 Fabian Blatz <fabianblatz@gmail.com>
2 # SPDX-License-Identifier: Apache-2.0
10 enable-gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
11 msx-gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>,
13 step-gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>;
14 dir-gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>;
15 dual-edge-step;
21 - name: stepper-controller.yaml
22 property-allowlist:
23 - micro-step-res
[all …]
/Zephyr-latest/include/zephyr/drivers/sensor/
Dmcux_lpcmp.h5 * SPDX-License-Identifier: Apache-2.0
10 * @brief Data structure for the NXP MCUX low-power analog comparator (LPCMP)
36 /** LPCMP output falling event trigger. */
87 * 001b: COUT rising edge event close an active window
88 * 011b: COUT falling edge event close an active window
/Zephyr-latest/dts/bindings/wifi/
Dnordic,nrf70-qspi.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: This is a representation of the nRF70 Wi-Fi chip.
8 on-bus: qspi
11 qspi-frequency:
20 qspi-quad-mode:
24 SPI mode (2 IO lines - MOSI & MISO).
26 qspi-rx-delay:
30 Number of clock cycles from the rising edge of the SPI clock
33 qspi-cpha:
36 Set to indicate phase starts with asserted half-phase (CPHA=1).
[all …]
/Zephyr-latest/dts/bindings/watchdog/
Dti,tps382x.yaml10 wdi-gpios:
11 type: phandle-array
17 when WDI sees a rising edge or a falling edge. If unused, the WDI
21 timeout-period:
25 Time-out period in milliseconds. Typical for TPS3823/4/8 and TPS3823A is
/Zephyr-latest/dts/bindings/misc/
Drenesas,ra-external-interrupt.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "renesas,ra-external-interrupt"
24 - "falling"
25 - "rising"
26 - "both-edges"
27 - "low-level"
29 Select the signal edge or state that triggers an interrupt
31 renesas,digital-filtering:
36 renesas,sample-clock-div:
39 - 1
[all …]
/Zephyr-latest/dts/bindings/display/
Dftdi,ft800.yaml2 # SPDX-License-Identifier: Apache-2.0
8 include: spi-device.yaml
11 irq-gpios:
12 type: phandle-array
28 the rising edge. If it is set to one, PCLK polarity is on
29 the falling edge.
36 edge. When set to 0, R[7:2],G[7:2] and B[7:2] signals change
37 following the active edge of PCLK. When set to 1, R[7:2]
/Zephyr-latest/soc/microchip/mec/mec172x/reg/
Dmec172x_qspi.h4 * SPDX-License-Identifier: Apache-2.0
24 /* Mode 0: Clock idle = Low. Data change falling edge, sample rising edge */
26 /* Mode 1: Clock idle = Low. Data change rising edge, sample falling edge */
28 /* Mode 2: Clock idle = High. Data change rising edge, sample falling edge */
30 /* Mode 3: Clock idle = High. Data change falling edge, sample rising edge */
140 /* MOSI data changes on first clock edge of clock pulse */
142 /* MOSI data changes on second clock edge of clock pulse */
146 /* MISO data capture on first clock edge of clock pulse */
148 /* MISO data capture on second clock edge of clock pulse */
368 /* Each Local DMA channel implements 4 32-bit registers.
[all …]
/Zephyr-latest/include/zephyr/dt-bindings/pinctrl/
Dcc13xx_cc26xx-pinctrl.h2 * Copyright (c) 2015 - 2017, Texas Instruments Incorporated
4 * SPDX-License-Identifier: Apache-2.0
60 /* Edge Detection */
61 #define IOC_NO_EDGE 0x00000000 /* No edge detection */
62 #define IOC_FALLING_EDGE 0x00010000 /* Edge detection on falling edge */
63 #define IOC_RISING_EDGE 0x00020000 /* Edge detection on rising edge */
64 #define IOC_BOTH_EDGES 0x00030000 /* Edge detection on both edges */
/Zephyr-latest/tests/drivers/gpio/gpio_basic_api/src/
Dtest_callback_trigger.c5 * SPDX-License-Identifier: Apache-2.0
26 && (dd->mode == GPIO_INT_EDGE_BOTH)) { in callback()
65 drv_data->mode = mode; in test_callback()
66 gpio_init_callback(&drv_data->gpio_cb, callback, BIT(PIN_IN)); in test_callback()
67 rc = gpio_add_callback(dev_in, &drv_data->gpio_cb); in test_callback()
68 if (rc == -ENOTSUP) { in test_callback()
79 if (rc == -ENOTSUP) { in test_callback()
95 TC_ERROR("double edge not detected\n"); in test_callback()
102 TC_ERROR("edge not trigger callback correctly\n"); in test_callback()
114 gpio_remove_callback(dev_in, &drv_data->gpio_cb); in test_callback()
[all …]
/Zephyr-latest/dts/bindings/mtd/
Dnordic,qspi-nor.yaml2 # SPDX-License-Identifier: Apache-2.0
7 compatible: "nordic,qspi-nor"
9 include: [base.yaml, "jedec,spi-nor-common.yaml"]
11 on-bus: qspi
17 jedec-id:
23 The size in bits. Set this or size-in-bytes, but not both.
25 size-in-bytes:
31 quad-enable-requirements:
37 - "fastread" # Single data line SPI, FAST_READ (0x0B)
38 - "read2o" # Dual data line SPI, READ2O (0x3B)
[all …]
/Zephyr-latest/dts/bindings/video/
Dst,stm32-dcmi.yaml4 # SPDX-License-Identifier: Apache-2.0
14 pinctrl-0 = <&dcmi_hsync_pa4 &dcmi_pixclk_pa6 &dcmi_vsync_pb7
17 pinctrl-names = "default";
18 bus-width = <8>;
19 hsync-active = <0>;
20 vsync-active = <0>;
21 pixelclk-active = <1>;
22 capture-rate = <1>;
29 remote-endpoint = <&ov2640_ep_out>;
34 compatible: "st,stm32-dcmi"
[all …]
/Zephyr-latest/drivers/gpio/
Dgpio_iproc.c5 * SPDX-License-Identifier: Apache-2.0
43 #define DEV_CFG(dev) ((const struct gpio_iproc_config *const)(dev)->config)
44 #define DEV_DATA(dev) ((struct gpio_iproc_data *const)(dev)->data)
49 mem_addr_t base = cfg->base; in gpio_iproc_configure()
66 mem_addr_t base = cfg->base; in gpio_iproc_port_get_raw()
76 mem_addr_t base = cfg->base; in gpio_iproc_port_set_masked_raw()
88 mem_addr_t base = cfg->base; in gpio_iproc_port_set_bits_raw()
99 mem_addr_t base = cfg->base; in gpio_iproc_port_clear_bits_raw()
113 mem_addr_t base = cfg->base; in gpio_iproc_port_toggle_bits()
127 mem_addr_t base = cfg->base; in gpio_iproc_pin_interrupt_configure()
[all …]

123