Home
last modified time | relevance | path

Searched +full:bit +full:- +full:banging (Results 1 – 14 of 14) sorted by relevance

/Zephyr-latest/drivers/i2c/
DKconfig.gpio2 # SPDX-License-Identifier: Apache-2.0
5 bool "GPIO bit banging I2C support"
10 Enable software driven (bit banging) I2C support using GPIO pins
Di2c_bitbang.c4 * SPDX-License-Identifier: Apache-2.0
9 * @brief Software driven 'bit-banging' library for I2C
13 * the Standard-mode and Fast-mode speeds and doesn't support optional
14 * protocol feature like 10-bit addresses or clock stretching.
17 * https://www.nxp.com/docs/en/user-guide/UM10204.pdf
46 return -ENOTSUP; in i2c_bitbang_configure()
52 context->delays[T_LOW] = NS_TO_SYS_CLOCK_HW_CYCLES(4700); in i2c_bitbang_configure()
53 context->delays[T_HIGH] = NS_TO_SYS_CLOCK_HW_CYCLES(4000); in i2c_bitbang_configure()
56 context->delays[T_LOW] = NS_TO_SYS_CLOCK_HW_CYCLES(1300); in i2c_bitbang_configure()
57 context->delays[T_HIGH] = NS_TO_SYS_CLOCK_HW_CYCLES(600); in i2c_bitbang_configure()
[all …]
DKconfig4 # SPDX-License-Identifier: Apache-2.0
10 bool "Inter-Integrated Circuit (I2C) bus drivers"
45 "zephyr,i2c-dump-allowlist" and phandles to the devices that need to be traced.
47 i2c-dump-allowlist {
48 compatible = "zephyr,i2c-dump-allowlist";
166 module-str = i2c
237 Enable library used for software driven (bit banging) I2C support
240 bool "Nios-II I2C driver"
244 Enable the Nios-II I2C driver.
/Zephyr-latest/drivers/mipi_dbi/
DKconfig.bitbang2 # SPDX-License-Identifier: Apache-2.0
5 bool "MIPI DBI bit banging driver"
10 Enable support for MIPI DBI bit banging driver. This driver implements
11 a MIPI-DBI mode A and B compatible controller using GPIO.
/Zephyr-latest/drivers/mdio/
DKconfig.gpio2 # SPDX-License-Identifier: Apache-2.0
9 Enable software driven (bit banging) MDIO support using GPIO pins
/Zephyr-latest/dts/bindings/w1/
Dzephyr,w1-gpio.yaml2 # SPDX-License-Identifier: Apache-2.0
7 This defines a one-wire driver through GPIO bit-banging.
13 compatible = "zephyr,w1-gpio";
19 - w1 is pin 13 on gpio0. The gpio is active when the pin is high, is
20 configured as an open-drain, and has a pull-up resistor.
23 - Most drivers require the selected gpio to support open drain, this enables onewire
25 - Ensure pullup is strong enough (4.7K according to the specification). Standard pullup in
28 compatible: "zephyr,w1-gpio"
30 include: [w1-master.yaml]
34 type: phandle-array
/Zephyr-latest/dts/bindings/mipi-dbi/
Dzephyr,mipi-dbi-bitbang.yaml3 # SPDX-License-Identifier: Apache-2.0
6 MIPI-DBI Mode A and B bit banging controller. This driver emulates MIPI DBI mode A and B (6800
9 compatible: "zephyr,mipi-dbi-bitbang"
11 include: ["mipi-dbi-controller.yaml", "pinctrl-device.yaml"]
15 dc-gpios:
16 type: phandle-array
21 reset-gpios:
22 type: phandle-array
27 rd-gpios:
28 type: phandle-array
[all …]
/Zephyr-latest/dts/bindings/led_strip/
Dworldsemi,ws2812-gpio.yaml2 # SPDX-License-Identifier: Apache-2.0
7 Driver bindings for bit-banging a WS2812 or compatible LED strip.
11 or can be provided by setting the delay-txx properties in the device
17 type of LEDs used, consult the data-sheet for the precise timings.
20 +-------+ +---
24 ---+ +-----------------+
27 +---------------+ +---
31 ---+ +---------+
38 clock-frequency = <64000000>;
43 compatible = "worldsemi,ws2812-gpio";
[all …]
/Zephyr-latest/drivers/led_strip/
DKconfig.ws28124 # SPDX-License-Identifier: Apache-2.0
8 # https://wp.josh.com/2014/05/13/ws2812-neopixels-are-not-so-finicky-once-you-get-to-know-them/
18 memory (1 byte of overhead per bit of pixel data).
33 # Only an Cortex-M inline assembly implementation for the nRF91, nRF51,
41 controlling with GPIO. The GPIO driver does bit-banging with inline
49 DT_CHOSEN_LED_STRIP := zephyr,led-strip
53 int "Delay 1 bit high pulse"
54 default $(dt_node_int_prop_int,$(DT_CHOSEN_LED_STRIP_PATH),delay-t1h) \
55 if $(dt_node_has_prop,$(DT_CHOSEN_LED_STRIP_PATH),delay-t1h)
56 default $(div,$(mul,700,$(dt_node_int_prop_int,/cpus/cpu@0,clock-frequency)),1000000000) \
[all …]
/Zephyr-latest/dts/bindings/misc/
Dzephyr,swdp-gpio.yaml3 # SPDX-License-Identifier: Apache-2.0
7 implementation by GPIO bit-banging.
9 Schematic using dual-supply bus transceiver and separate dout and dnoe pins
13 | +-------------+ |
14 +-------|vcca vccb|-----+
16 clk-gpios -------|a b|-------------- SWD CLK
18 noe-gpios -------|dir gnd|-----+
19 +-------------+ |
26 | +-------------+ |
27 +-------|vcca vccb|-----+
[all …]
/Zephyr-latest/drivers/w1/
Dw1_zephyr_gpio.c4 * SPDX-License-Identifier: Apache-2.0
10 * @brief 1-Wire Bus Master driver using Zephyr GPIO interface.
12 * This file contains the implementation of the 1-Wire Bus Master driver using
13 * the Zephyr GPIO interface. The driver is based on GPIO bit-banging and
14 * follows the timing specifications for 1-Wire communication.
21 * - w1_zephyr_serial.c: drivers/w1/w1_zephyr_serial.c
22 * - Analog Devices 1-Wire Communication Through Software:
23 * https://www.analog.com/en/resources/technical-articles/1wire-communication-through-software.html
96 /** GPIO device used for 1-Wire communication */
103 /** timing parameters for 1-Wire communication */
[all …]
/Zephyr-latest/arch/x86/zefi/
Dzefi.c4 * SPDX-License-Identifier: Apache-2.0
11 #include <zefi-segments.h>
72 efi->ConOut->OutputString(efi->ConOut, efibuf); in efi_putchar()
79 return ((s1->Part1 == s2->Part1) && (s1->Part2 == s2->Part2)); in efi_guid_compare()
91 ect_tmp = efi->ConfigurationTable; in efi_config_get_vendor_table_by_guid()
93 for (n_ct = 0; n_ct < efi->NumberOfTableEntries; n_ct++) { in efi_config_get_vendor_table_by_guid()
94 if (efi_guid_compare(&ect_tmp->VendorGuid, guid)) { in efi_config_get_vendor_table_by_guid()
95 return ect_tmp->VendorTable; in efi_config_get_vendor_table_by_guid()
130 * interrupt enable bit of HPET timer zero.
178 /* Page-aligned blocks below 1M are the .locore in efi_entry()
[all …]
/Zephyr-latest/soc/intel/intel_adsp/tools/
Dcavstool.py3 # SPDX-License-Identifier: Apache-2.0
19 log = logging.getLogger("cavs-fw")
23 HUGEPAGE_FILE = "/dev/hugepages/cavs-fw-dma.tmp."
28 # Window 1 is the IPC "inbox" (host-writable memory, just 384 bytes currently)
30 # Window 3 is winstream-formatted log output
43 # pylint: disable=duplicate-code
101 log.info("Setting buffer list, length, and stream id and traffic priority bit")
106 self.regs.LVI = self.n_bufs - 1
179 # set enter reset bit
182 # clear enter reset bit to exit reset
[all …]
/Zephyr-latest/doc/releases/
Drelease-notes-2.5.rst27 * CVE-2021-3323: Under embargo until 2021-04-14
28 * CVE-2021-3321: Under embargo until 2021-04-14
29 * CVE-2021-3320: Under embargo until 2021-04-14
39 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_.
56 * Changed vcnl4040 dts binding default for property 'proximity-trigger'.
63 * The :c:func:`mqtt_keepalive_time_left` function now returns -1 if keep alive
67 timeout usage must use the new-style k_timeout_t type and not the
87 GPIO-only regulators a devicetree property ``supply-gpios`` is defined as a
101 * ARM Musca-A board and SoC support deprecated and planned to be removed in 2.6.0.
146 sys_heap/k_heaps. Note that the new-style heap is a general
[all …]