Home
last modified time | relevance | path

Searched +full:pull +full:- +full:down (Results 1 – 25 of 264) sorted by relevance

1234567891011

/Zephyr-latest/dts/bindings/test/
Dvnd,pinctrl-test.yaml2 # SPDX-License-Identifier: Apache-2.0
7 compatible: "vnd,pinctrl-test"
11 child-binding:
16 child-binding:
27 /* both pins 0 and 1 have pull-up enabled */
28 bias-pull-up;
35 /* pin M has pull-down enabled */
36 bias-pull-down;
42 - bias-pull-up: Enable pull-up resistor.
43 - bias-pull-down: Enable pull-down resistor.
[all …]
/Zephyr-latest/dts/bindings/mfd/
Dnordic,npm6001.yaml2 # SPDX-License-Identifier: Apache-2.0
8 include: i2c-device.yaml
14 nordic,ready-high-drive:
18 nordic,nint-high-drive:
22 nordic,sda-high-drive:
26 nordic,buck-mode0-input-type:
30 description: Input type for BUCK_MODE0 pin. Defaults IC boot-time value.
32 nordic,buck-mode0-pull-down:
34 description: Enable pull-down resistor for BUCK_MODE0 pin.
36 nordic,buck-mode1-input-type:
[all …]
/Zephyr-latest/boards/nxp/mimxrt1160_evk/
Dmimxrt1160_evk-pinctrl.dtsi3 * SPDX-License-Identifier: Apache-2.0
9 #include <nxp/nxp_imx/rt/mimxrt1166dvm6a-pinctrl.dtsi>
16 drive-strength = "high";
17 bias-pull-down;
18 slew-rate = "fast";
22 drive-strength = "high";
23 bias-pull-up;
24 slew-rate = "fast";
29 drive-strength = "high";
30 slew-rate = "fast";
[all …]
/Zephyr-latest/include/zephyr/drivers/mfd/
Daxp192.h4 * SPDX-License-Identifier: Apache-2.0
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
88 * @retval -EINVAL if an invalid GPIO number is passed
89 * @retval -errno in case of any bus error
94 * @brief Enable pull-down on specified GPIO pin. AXP192 only supports
95 * pull-down on GPIO3..5. Pull-ups are not supported.
98 * @param gpio GPIO to control pull-downs
99 * @param enable true to enable, false to disable pull-down
[all …]
/Zephyr-latest/boards/nxp/mimxrt1170_evk/
Dmimxrt1170_evk-pinctrl.dtsi3 * SPDX-License-Identifier: Apache-2.0
9 #include <nxp/nxp_imx/rt/mimxrt1176dvmaa-pinctrl.dtsi>
16 drive-strength = "high";
17 bias-pull-down;
18 slew-rate = "fast";
22 drive-strength = "high";
23 bias-pull-up;
24 slew-rate = "fast";
32 drive-strength = "high";
33 slew-rate = "fast";
[all …]
/Zephyr-latest/dts/bindings/pinctrl/
Dene,kb1200-pinctrl.yaml1 # SPDX-License-Identifier: Apache-2.0
9 - bias-disable: Disable pull-up/down resistor.
10 - bias-pull-up: Enable pull-up resistor.
11 - bias-pull-down: Enable pull-down resistor.
12 - drive-push-pull: Output driver is push-pull.
13 - drive-open-drain: Output driver is open-drain.
14 - output-disable: Disable GPIO output driver data
15 - output-enable: Ensable GPIO output driver data
16 - output-high: GPIO output data high
17 - output-low: GPIO output data low
[all …]
Dnxp,mcux-rt-pinctrl.yaml2 # SPDX-License-Identifier: Apache-2.0
15 drive-strength = "r0-6";
16 slew-rate = "slow";
17 nxp,speed = "100-mhz";
21 Both pins will be configured with a weak latch, drive strength of "r0-6",
26 input-schmitt-enable: HYS=1
27 drive-open-drain: ODE=1
28 input-enable: SION=1 (in SW_MUX_CTL_PAD register)
29 bias-pull-down: PUE=1, PUS=<bias-pull-down-value>
30 bias-pull-up: PUE=1, PUS=<bias-pull-up-value>
[all …]
Dti,cc32xx-pinctrl.yaml2 # SPDX-License-Identifier: Apache-2.0
7 use this node to route UART0 RX to pin 55 and enable the pull-up resistor
20 /* You can put this in places like a board-pinctrl.dtsi file in
24 /* include pre-defined combinations for the SoC variant used by the board */
25 #include <dt-bindings/pinctrl/gd32f450i(g-i-k)xx-pinctrl.h>
39 /* both pin 57 and 62 have pull-up enabled */
40 bias-pull-up;
53 pins, such as the 'bias-pull-up' property in group 2. Here is a list of
56 - drive-push-pull: Push-pull drive mode (default, not required).
57 - drive-open-drain: Open-drain drive mode.
[all …]
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 …]
Dmicrochip,xec-pinctrl.yaml3 # SPDX-License-Identifier: Apache-2.0
7 Based on pincfg-node.yaml binding.
23 pins, such as the 'bias-pull-up' property in group 2. Here is a list of
26 - bias-disable: Disable pull-up/down (default behavior, not required).
27 - bias-pull-down: Enable pull-down resistor.
28 - bias-pull-up: Enable pull-up resistor.
29 - drive-push-pull: Output driver is push-pull (default, not required).
30 - drive-open-drain: Output driver is open-drain.
31 - output-high: Set output state high when pin configured.
32 - output-low: Set output state low when pin configured.
[all …]
Dmicrochip,mec5-pinctrl.yaml2 # SPDX-License-Identifier: Apache-2.0
6 Based on pincfg-node.yaml binding.
22 pins, such as the 'bias-pull-up' property in group 2. Here is a list of
25 - bias-disable: Disable pull-up/down (default behavior, not required).
26 - bias-pull-down: Enable pull-down resistor.
27 - bias-pull-up: Enable pull-up resistor.
28 - drive-push-pull: Output driver is push-pull (default, not required).
29 - drive-open-drain: Output driver is open-drain.
30 - output-high: Set output state high when pin configured.
31 - output-low: Set output state low when pin configured.
[all …]
Dgd,gd32-pinctrl-af.yaml2 # SPDX-License-Identifier: Apache-2.0
7 use this node to route USART0 RX to pin PA10 and enable the pull-up resistor
20 /* You can put this in places like a board-pinctrl.dtsi file in
24 /* include pre-defined combinations for the SoC variant used by the board */
25 #include <dt-bindings/pinctrl/gd32f450i(g-i-k)xx-pinctrl.h>
39 /* both PA10 and PA12 have pull-up enabled */
40 bias-pull-up;
56 is used for low power states because it disconnects the pin pull-up/down
64 pins, such as the 'bias-pull-up' property in group 2. Here is a list of
67 - drive-push-pull: Push-pull drive mode (default, not required).
[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 …]
Dnordic,nrf-pinctrl.yaml2 # SPDX-License-Identifier: Apache-2.0
7 node to route UART0 RX to pin P0.1 and enable the pull-up resistor on the
20 /* You can put this in places like a board-pinctrl.dtsi file in
35 /* both P0.3 and P0.4 are configured with pull-up */
36 bias-pull-up;
43 state. You would specify the low-power configuration for the same device
52 include/zephyr/dt-bindings/pinctrl/nrf-pinctrl.h header file.
55 pins, such as the 'bias-pull-up' property in group 2. Here is a list of
58 - bias-disable: Disable pull-up/down (default behavior, not required).
59 - bias-pull-up: Enable pull-up resistor.
[all …]
Drenesas,smartbond-pinctrl.yaml2 # SPDX-License-Identifier: Apache-2.0
19 /* You can put this in places like a board-pinctrl.dtsi file in
24 #include <dt-bindings/pinctrl/smartbond-pinctrl.h>
36 /* route UART RX to P0.8 and enable pull-up */
38 bias-pull-up;
53 pins, such as the 'bias-pull-up' property in group 2. Here is a list of
56 - bias-pull-up: Enable pull-up resistor.
57 - bias-pull-down: Enable pull-down resistor.
61 To link this pin configuration with a device, use a pinctrl-N property
65 #include "board-pinctrl.dtsi"
[all …]
Datmel,sam-pinctrl.yaml3 # Copyright (c) 2021-2022, Gerson Fernando Budke <nandojve@gmail.com>
4 # SPDX-License-Identifier: Apache-2.0
11 to route USART0 RX to pin PA10 and enable the pull-up resistor on the pin.
23 /** You can put this in places like a <board>-pinctrl.dtsi file in
27 /** include pre-defined combinations for the SoC variant used by the board */
28 #include <dt-bindings/pinctrl/sam4sXc-pinctrl.h>
42 /* both PA5 and PA7 have pull-up enabled */
43 bias-pull-up;
57 pins, such as the 'bias-pull-up' property in group 2. Here is a list of
60 - bias-pull-up: Enable pull-up resistor.
[all …]
Datmel,sam0-pinctrl.yaml2 # Copyright (c) 2021-2022, Gerson Fernando Budke
3 # SPDX-License-Identifier: Apache-2.0
10 to route SERCOM0 as UART were RX to pin PAD1 and enable the pull-up resistor
23 /** You can put this in places like a <board>-pinctrl.dtsi file in
27 /** include pre-defined combinations for the SoC variant used by the board */
28 #include <dt-bindings/pinctrl/samr21g-pinctrl.h>
42 /* both PA5 and PA7 have pull-up enabled */
43 bias-pull-up;
57 pins, such as the 'bias-pull-up' property in group 2. Here is a list of
60 - bias-pull-up: Enable pull-up resistor.
[all …]
/Zephyr-latest/tests/drivers/pinctrl/api/
Dapp.overlay4 * SPDX-License-Identifier: Apache-2.0
9 compatible = "vnd,pinctrl-test";
15 bias-pull-up;
19 bias-pull-down;
34 bias-pull-down;
38 bias-pull-up;
63 bias-pull-up;
67 bias-pull-down;
78 compatible = "vnd,pinctrl-device";
80 pinctrl-0 = <&test_device0_default>;
[all …]
/Zephyr-latest/samples/boards/st/power_mgmt/stop3/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
25 const struct gpio_stm32_config *cfg = led.port->config; in main()
26 uint32_t pwr_port = ((uint32_t)LL_PWR_GPIO_PORTA) + (cfg->port * 8); in main()
33 /* Enable the pull-up/pull-down feature globally. in main()
43 /* In STOP3, GPIOs are disabled. Only pull-up/pull-down can be enabled. in main()
44 * So we enable pull-up/pull-down based on LED status in main()
/Zephyr-latest/boards/nxp/mimxrt1180_evk/
Dmimxrt1180_evk-pinctrl.dtsi3 * SPDX-License-Identifier: Apache-2.0
7 #include <nxp/nxp_imx/rt/mimxrt1189cvm8b-pinctrl.dtsi>
14 bias-pull-down;
15 slew-rate = "fast";
16 drive-strength = "high";
29 bias-pull-down;
30 slew-rate = "fast";
31 drive-strength = "high";
35 input-enable;
36 bias-pull-down;
[all …]
/Zephyr-latest/samples/boards/espressif/deep_sleep/
DKconfig2 # SPDX-License-Identifier: Apache-2.0
11 This option enables wake-up from deep sleep using GPIO2 and
12 GPIO4. The sample enables internal pull-down on EXT1 pins to
13 avoid random wake-ups. Otherwise, external pull-down should
14 be used for the same purpose. To trigger a wake-up, connect
22 This option enables wake-up from GPIO. Only GPIO0~5 can be used
23 as wake-up source. Be aware that when low level is used to trigger
24 wake-up, an external pull-up resistance is necessary.
/Zephyr-latest/include/zephyr/drivers/pinctrl/
Dpinctrl_rcar_common.h4 * SPDX-License-Identifier: Apache-2.0
12 #include <zephyr/dt-bindings/pinctrl/renesas/pinctrl-rcar-common.h>
17 uint8_t bank:5; /* bank number 0 - 18 */
18 uint8_t shift:5; /* bit shift 0 - 28 */
22 /** Pull-up, pull-down, or bias disable is requested */
24 /** Performs on/off control of the pull resistors */
26 /** Select pull-up resistor if set pull-down otherwise */
37 /** Type for R-Car pin. */
49 /* Offsets are defined in dt-bindings pinctrl-rcar-common.h */
115 uint32_t puen; /** Pull-enable or pull-up control register */
[all …]
/Zephyr-latest/dts/bindings/sensor/
Dntc-thermistor.yaml2 # SPDX-License-Identifier: Apache-2.0
6 include: [sensor-device.yaml]
9 io-channels:
14 pullup-uv:
22 pullup-ohm:
27 pulldown-ohm:
32 connected-positive:
35 Indicates how the thermistor is connected in series with a pull-up and/or
36 a pull-down resistor. If this flag is NOT specified, the thermistor is
37 assumed to be connected-ground, which usually means a pull-down resistance
/Zephyr-latest/soc/nxp/imxrt/imxrt5xx/cm33/
Dsoc.h2 * Copyright 2022-2023, NXP
4 * SPDX-License-Identifier: Apache-2.0
11 * This header file is used to specify and describe board-level aspects for the
62 /*!<@brief Enable pull-down function */
64 /*!<@brief Enable pull-up function */
66 /*!<@brief Disable pull-up / pull-down function */
68 /*!<@brief Enable pull-up / pull-down function */
/Zephyr-latest/boards/nxp/imx93_evk/
Dimx93_evk-pinctrl.dtsi3 * SPDX-License-Identifier: Apache-2.0
7 #include <nxp/nxp_imx/mimx9352cvuxk-pinctrl.dtsi>
14 bias-pull-up;
15 slew-rate = "slightly_fast";
16 drive-strength = "x5";
24 bias-pull-up;
25 slew-rate = "slightly_fast";
26 drive-strength = "x5";
34 drive-strength = "x5";
35 drive-open-drain;
[all …]

1234567891011