Home
last modified time | relevance | path

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

1234

/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)
/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)
34 /** LPCMP output rising 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/drivers/serial/
DKconfig.altera2 # SPDX-License-Identifier: Apache-2.0
23 Enabling this will cause the transmitter to wait for rising edge of CTS before sending.
/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/tests/drivers/gpio/gpio_enable_disable_interrupt/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
40 zassert_true(gpio_is_ready_dt(fixture->irq_spec), "GPIO device is not ready"); in gpio_enable_disable_interrupt_before()
42 zassert_ok(gpio_pin_configure_dt(fixture->irq_spec, GPIO_INPUT)); in gpio_enable_disable_interrupt_before()
43 zassert_ok(gpio_emul_input_set(fixture->irq_spec->port, fixture->irq_spec->pin, 0), in gpio_enable_disable_interrupt_before()
47 zassert_ok(gpio_pin_interrupt_configure_dt(fixture->irq_spec, GPIO_INT_DISABLE)); in gpio_enable_disable_interrupt_before()
48 gpio_init_callback(&cb_data, callback, BIT(fixture->irq_spec->pin)); in gpio_enable_disable_interrupt_before()
49 zassert_ok(gpio_add_callback(fixture->irq_spec->port, &cb_data), "failed to add callback"); in gpio_enable_disable_interrupt_before()
57 zassert_ok(gpio_remove_callback(fixture->irq_spec->port, &cb_data), in gpio_enable_disable_interrupt_after()
75 zassert_ok(gpio_emul_input_set(irq_spec->port, irq_spec->pin, 1), in trigger_callback()
82 enable_interrupt(fixture->irq_spec); in ZTEST_F()
[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/dts/bindings/counter/
Dnxp,lptmr.yaml2 # SPDX-License-Identifier: Apache-2.0
14 clock-frequency:
22 clk-source:
33 input-pin:
37 will be used to determine the "rising-edge
40 active-low:
51 prescale-glitch-filter:
57 2 ^ [prescaler-glitch-filter] clock cycles.
59 2 ^ [prescaler-glitch-filter] rising edges detected
60 by the pin configured from the input-pin value.
[all …]
/Zephyr-latest/include/zephyr/drivers/dma/
Ddma_mcux_lpc.h4 * SPDX-License-Identifier: Apache-2.0
28 * high or rising edge triggered, based on TRIG_TYPE selection
33 * When it is cleared, the hardware trigger will be edge triggered.
/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 …]

1234