/Zephyr-latest/include/zephyr/dt-bindings/gpio/ |
D | gpio.h | 5 * SPDX-License-Identifier: Apache-2.0 39 /* Configures GPIO output in single-ended mode (open drain or open source). */ 41 /* Configures GPIO output in push-pull mode */ 44 /* Indicates single ended open drain mode (wired AND). */ 46 /* Indicates single ended open source mode (wired OR). */ 51 /** Configures GPIO output in open drain mode (wired AND). 53 * @note 'Open Drain' mode also known as 'Open Collector' is an output 58 /** Configures GPIO output in open source mode (wired OR). 60 * @note 'Open Source' is a term used by software engineers to describe output 61 * mode opposite to 'Open Drain'. It behaves like a switch that is either [all …]
|
/Zephyr-latest/tests/drivers/gpio/gpio_api_1pin/src/ |
D | test_config.c | 4 * SPDX-License-Identifier: Apache-2.0 39 * - Configure pin in in/out mode, verify that gpio_pin_set_raw / 41 * - Verify that GPIO_OUTPUT_HIGH flag is initializing the pin to high. 42 * - Verify that GPIO_OUTPUT_LOW flag is initializing the pin to low. 43 * - Verify that configuring the pin as an output without initializing it 45 * - Verify that it is not possible to change value of a pin via 56 TC_PRINT("Running test on port=%s, pin=%d\n", port->name, TEST_PIN); in ZTEST() 68 if (ret == -ENOTSUP) { in ZTEST() 141 * - Verify that pin configured in Open Drain mode and initialized 143 * as input is high. Drivers that do not support Open Drain flag [all …]
|
/Zephyr-latest/lib/posix/options/ |
D | Kconfig.xsi | 3 # SPDX-License-Identifier: Apache-2.0 5 menu "X/Open system interfaces" 8 bool "X/Open single process" 19 bool "X/Open streams" 21 This option provides support for the X/Open Streams interface, including functions such as 28 bool "X/Open system logging" 37 bool "X/Open threads extensions"
|
/Zephyr-latest/dts/bindings/i3c/ |
D | nxp,mcux-i3c.yaml | 4 # SPDX-License-Identifier: Apache-2.0 8 compatible: "nxp,mcux-i3c" 10 include: [i3c-controller.yaml, pinctrl-device.yaml] 19 i3c-od-scl-hz: 22 Open Drain Frequency for the I3C controller. When undefined, use 25 clk-divider: 30 clk-divider-tc: 35 clk-divider-slow: 40 disable-open-drain-high-pp: 43 If false, open drain high time is 1 PPBAUD count, [all …]
|
/Zephyr-latest/dts/bindings/pinctrl/ |
D | silabs,dbus-pinctrl.yaml | 2 # SPDX-License-Identifier: Apache-2.0 7 node to route USART0 RX to pin PA1 and enable the pull-up resistor on the 15 compatible = "silabs,gecko-usart"; 16 pinctrl-0 = <&usart0_default>; 17 pinctrl-names = "default"; 20 pinctrl-0 is a phandle that stores the pin settings for the peripheral, in 22 'pinctrl' node, typically in a board-pinctrl.dtsi file in the board 32 /* Configure GPIO to push-pull mode */ 33 drive-push-pull; 35 output-high; [all …]
|
D | ti,cc13xx-cc26xx-pinctrl.yaml | 2 # 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/tests/posix/fs/src/ |
D | test_fs_open_flags.c | 4 * SPDX-License-Identifier: Apache-2.0 20 /* 1 Check opening non-existent without O_CREAT */ in test_file_open_flags() 21 TC_PRINT("Open of non-existent file, flags = 0\n"); in test_file_open_flags() 22 fd = open(THE_FILE, 0); in test_file_open_flags() 31 TC_PRINT("Open on non-existent file, flags = O_RDONLY\n"); in test_file_open_flags() 32 fd = open(THE_FILE, O_RDONLY); in test_file_open_flags() 40 TC_PRINT("Open on non-existent file, flags = O_WRONLY\n"); in test_file_open_flags() 41 fd = open(THE_FILE, O_WRONLY); in test_file_open_flags() 50 TC_PRINT("Open on non-existent file, flags = O_RDWR\n"); in test_file_open_flags() 51 fd = open(THE_FILE, O_RDWR); in test_file_open_flags() [all …]
|
/Zephyr-latest/include/zephyr/sys/ |
D | hash_map_oa_lp.h | 4 * SPDX-License-Identifier: Apache-2.0 10 * @brief Open-Addressing / Linear Probe Hashmap Implementation 35 * @brief Declare a Open Addressing Linear Probe Hashmap (advanced) 37 * Declare a Open Addressing Linear Probe Hashmap with control over advanced parameters. 40 * entries and does not interact with any user-provided keys or values. 45 * @param ... Variant-specific details for @ref sys_hashmap_config. 52 * @brief Declare a Open Addressing Linear Probe Hashmap (advanced) 54 * Declare a Open Addressing Linear Probe Hashmap with control over advanced parameters. 57 * entries and does not interact with any user-provided keys or values. 70 * @brief Declare a Open Addressing Linear Probe Hashmap statically [all …]
|
/Zephyr-latest/tests/drivers/i2c/i2c_target_api/boards/ |
D | xmc47_relax_kit.overlay | 4 * SPDX-License-Identifier: Apache-2.0 8 * This sample requires several connections listed below. However, no external pull-ups 14 #include <zephyr/dt-bindings/i2c/i2c.h> 17 compatible = "infineon,xmc4xxx-i2c"; 21 /delete-property/ miso-src; 23 clock-frequency = <I2C_BITRATE_STANDARD>; 24 pinctrl-0 = <&i2c_scl_p5_2_u2c0 &i2c_sda_dx0_p3_7_u2c0 &i2c_sda_dout0_p3_8_u2c0>; 25 pinctrl-names = "default"; 27 scl-src = "DX1A"; 28 sda-src = "DX0C"; [all …]
|
/Zephyr-latest/tests/drivers/w1/w1_api/boards/ |
D | nucleo_g0b1re.overlay | 4 * SPDX-License-Identifier: Apache-2.0 9 * enable open-drain drive such that no external push-pull to 10 * open-drain converter is required. An external pull-up resistor 14 drive-open-drain; 15 bias-pull-up;
|
/Zephyr-latest/subsys/net/l2/ppp/ |
D | link.c | 4 * SPDX-License-Identifier: Apache-2.0 22 if (proto->protocol == PPP_LCP) { in lcp_up() 26 if (proto->lower_up) { in lcp_up() 27 proto->lower_up(ctx); in lcp_up() 37 if (proto->protocol == PPP_CCP || proto->protocol == PPP_ECP) { in do_network() 38 if (proto->open) { in do_network() 39 proto->open(ctx); in do_network() 50 if (proto->protocol == PPP_CCP || proto->protocol == PPP_ECP || in do_network() 51 proto->protocol >= 0xC000) { in do_network() 55 if (proto->open) { in do_network() [all …]
|
/Zephyr-latest/include/zephyr/sip_svc/ |
D | sip_svc.h | 2 * Copyright (c) 2022-2023, Intel Corporation. 4 * SPDX-License-Identifier: Apache-2.0 22 * The client must open a channel before sending any request and 30 * - INVALID: Invalid state before registration. 31 * - IDLE : Initial state. 32 * - OPEN : The client will switch from IDLE to OPEN once it 33 * successfully open the channel. On the other hand, it 34 * will switch from OPEN to IDLE state once it successfully 36 * - ABORT : The client has closed the channel, however, there are 40 * re-open the channel when in ABORT state/ [all …]
|
/Zephyr-latest/boards/ambiq/apollo4p_evb/ |
D | apollo4p_evb-pinctrl.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <dt-bindings/pinctrl/ambiq-apollo4-pinctrl.h> 17 input-enable; 28 drive-strength = "0.1"; 34 drive-open-drain; 35 drive-strength = "0.5"; 36 bias-pull-up; 42 drive-open-drain; 43 drive-strength = "0.5"; 44 bias-pull-up; [all …]
|
/Zephyr-latest/.github/workflows/ |
D | stale_issue.yml | 4 - cron: "16 00 * * *" 9 runs-on: ubuntu-22.04 10 if: github.repository == 'zephyrproject-rtos/zephyr' 12 - uses: actions/stale@v9 14 stale-pr-message: 'This pull request has been marked as stale because it has been open (more 17 closed in 14 days. Note, that you can always re-open a closed pull request at any time.' 18 stale-issue-message: 'This issue has been marked as stale because it has been open (more 21 14 days. Note, that you can always re-open a closed issue at any time.' 22 days-before-stale: 60 23 days-before-close: 14 [all …]
|
/Zephyr-latest/boards/rakwireless/rak11720/ |
D | rak11720_apollo3-pinctrl.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <dt-bindings/pinctrl/ambiq-apollo3-pinctrl.h> 16 input-enable; 22 drive-open-drain; 23 drive-strength = "0.5"; 24 bias-pull-up; 30 drive-open-drain; 31 drive-strength = "0.5"; 32 bias-pull-up; 38 drive-open-drain; [all …]
|
/Zephyr-latest/lib/hash/ |
D | Kconfig.hash_map | 3 # SPDX-License-Identifier: Apache-2.0 13 lookup of key-value pairs must be done in O(1) time (on average). 18 bool "Separate-Chaining Hashmap" 20 Separate-Chaining Hashmaps implement each bucket as a linked-list. 22 They are perhaps more useful on resource-constrained systems where 25 The main disadvantage of Separate-Chaining Hashmaps are that their 26 use tends to incur more cache-misses as nodes are spread throughout 30 bool "Open-Addressing / Linear Probe Hashmap" 32 Open-Addressing Hashmaps do not chain entries together but instead 36 The main advantage of Open-Addressing Hashmaps are due to their [all …]
|
/Zephyr-latest/boards/ambiq/apollo4p_blue_kxr_evb/ |
D | apollo4p_blue_kxr_evb-pinctrl.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <dt-bindings/pinctrl/ambiq-apollo4-pinctrl.h> 16 input-enable; 27 drive-open-drain; 28 drive-strength = "0.5"; 29 bias-pull-up; 35 drive-open-drain; 36 drive-strength = "0.5"; 37 bias-pull-up; 43 drive-open-drain; [all …]
|
/Zephyr-latest/boards/ambiq/apollo3_evb/ |
D | apollo3_evb-pinctrl.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <dt-bindings/pinctrl/ambiq-apollo3-pinctrl.h> 17 input-enable; 28 drive-open-drain; 29 drive-strength = "0.5"; 30 bias-pull-up; 36 drive-open-drain; 37 drive-strength = "0.5"; 38 bias-pull-up; 44 drive-open-drain; [all …]
|
/Zephyr-latest/tests/net/socket/ |
D | socket_helpers.h | 4 * SPDX-License-Identifier: Apache-2.0 26 zassert_true(ret >= 0, "socket open failed"); in prepare_listen_sock_udp_v4() 30 zassert_equal(addr->sin_family, AF_INET, "Invalid family"); in prepare_listen_sock_udp_v4() 45 zassert_true(ret >= 0, "socket open failed"); in prepare_listen_sock_udp_v6() 49 zassert_equal(addr->sin6_family, AF_INET6, "Invalid family"); in prepare_listen_sock_udp_v6() 67 zassert_true(*sock >= 0, "socket open failed"); in prepare_sock_udp_v4() 69 sockaddr->sin_family = AF_INET; in prepare_sock_udp_v4() 70 sockaddr->sin_port = htons(port); in prepare_sock_udp_v4() 71 rv = zsock_inet_pton(AF_INET, addr, &sockaddr->sin_addr); in prepare_sock_udp_v4() 85 zassert_true(*sock >= 0, "socket open failed"); in prepare_sock_udp_v6() [all …]
|
/Zephyr-latest/dts/riscv/ite/ |
D | it8xxx2-pinctrl-map.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/pinctrl/it8xxx2-pinctrl.h> 115 bias-pull-up; 119 bias-pull-up; 123 bias-pull-up; 127 bias-pull-up; 131 bias-pull-up; 135 bias-pull-up; 139 bias-pull-up; 143 bias-pull-up; [all …]
|
/Zephyr-latest/dts/bindings/i2c/ |
D | infineon,xmc4xxx-i2c.yaml | 4 # SPDX-License-Identifier: Apache-2.0 16 compatible = "infineon,xmc4xxx-i2c"; 19 pinctrl-0 = <&i2c_scl_p0_13_u1c1 &i2c_sda_p3_15_u1c1>; 20 pinctrl-names = "default"; 21 scl-src = "DX1B"; 22 sda-src = "DX0A"; 25 #address-cells = <1>; 26 #size-cells = <0>; 28 clock-frequency = <I2C_BITRATE_STANDARD>; 35 The pinctrl nodes need to be configured as open-drain and [all …]
|
/Zephyr-latest/boards/microchip/mec1501modular_assy6885/ |
D | mec1501modular_assy6885-pinctrl.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 10 #include <microchip/mec152x/mec152xhsz-pinctrl.dtsi> 13 drive-open-drain; 17 drive-open-drain; 21 drive-open-drain; 25 drive-open-drain; 29 bias-pull-up; 33 bias-pull-up; 37 bias-pull-up; [all …]
|
/Zephyr-latest/boards/microchip/mec15xxevb_assy6853/ |
D | mec15xxevb_assy6853-pinctrl.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 10 #include <microchip/mec152x/mec152xhsz-pinctrl.dtsi> 13 drive-open-drain; 17 drive-open-drain; 21 drive-open-drain; 25 drive-open-drain; 29 bias-pull-up; 33 bias-pull-up; 37 bias-pull-up; [all …]
|
/Zephyr-latest/dts/bindings/gpio/ |
D | adi,max14906-gpio.yaml | 3 # SPDX-License-Identifier: Apache-2.0 7 compatible: "adi,max14906-gpio" 10 "#gpio-cells": 17 drdy-gpios: 19 High-Side Open-Drain Output. READY is passive low when the internal 22 type: phandle-array 23 fault-gpios: 27 type: phandle-array 28 sync-gpios: 31 type: phandle-array [all …]
|
D | adi,max14916-gpio.yaml | 3 # SPDX-License-Identifier: Apache-2.0 7 compatible: "adi,max14916-gpio" 10 "#gpio-cells": 17 drdy-gpios: 19 High-Side Open-Drain Output. READY is passive low when the internal 22 type: phandle-array 23 fault-gpios: 27 type: phandle-array 28 sync-gpios: 31 type: phandle-array [all …]
|