Home
last modified time | relevance | path

Searched +full:on +full:- +full:bus (Results 1 – 25 of 398) sorted by relevance

12345678910>>...16

/Zephyr-Core-2.7.6/tests/drivers/i2c/i2c_slave_api/
DREADME.txt9 controllers on a common bus. The test is supported by a test-specific
10 driver that simulates an EEPROM with an I2C bus slave interface. Data
11 is pre-loaded into the simulated devices outside the I2C API, and the
17 I2C controllers, so this behavior is now opt-in using
19 second EEPROM just to identify the bus.
23 * Use API specific to the simulated EEPROM to pre-populate the simulated
24 devices with device-specific content.
25 * Register a simulated EEPROM as a I2C slave device on a bus. If
28 * Issue commands on one bus controller (operating as the bus master) and
30 the expected values given the content known to be present on the
[all …]
/Zephyr-Core-2.7.6/scripts/dts/python-devicetree/tests/test-bindings/
Ddevice-on-bar-bus.yaml1 # SPDX-License-Identifier: BSD-3-Clause
3 description: Device on bar bus
5 compatible: "on-bus"
7 on-bus: "bar"
Ddevice-on-foo-bus.yaml1 # SPDX-License-Identifier: BSD-3-Clause
3 description: Device on foo bus
5 compatible: "on-bus"
7 on-bus: "foo"
Ddevice-on-any-bus.yaml1 # SPDX-License-Identifier: BSD-3-Clause
3 description: Device on any bus
5 compatible: "on-any-bus"
/Zephyr-Core-2.7.6/drivers/i2c/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
19 depends on SHELL
23 The I2C shell currently support scanning and bus recovery.
56 module-str = i2c
61 depends on HAS_SILABS_GECKO
64 Enable the SiLabs Gecko I2C bus driver.
68 depends on SOC_FAMILY_SAM
70 Enable Atmel SAM MCU Family (TWIHS) I2C bus driver.
74 depends on SOC_SERIES_SAM4L
76 Enable Atmel SAM MCU Family (TWIM) I2C bus driver.
[all …]
/Zephyr-Core-2.7.6/include/drivers/
Dmdio.h8 * Copyright (c) 2021 IP-Logix Inc.
10 * SPDX-License-Identifier: Apache-2.0
43 /** Enable the MDIO bus device */
46 /** Disable the MDIO bus device */
49 /** Read data from MDIO bus */
53 /** Write data to MDIO bus */
62 * @brief Enable MDIO bus
72 (const struct mdio_driver_api *)dev->api; in z_impl_mdio_bus_enable()
74 return api->bus_enable(dev); in z_impl_mdio_bus_enable()
78 * @brief Disable MDIO bus and tri-state drivers
[all …]
Dspi.h4 * SPDX-License-Identifier: Apache-2.0
53 * capture will occur on low to high transition and high to low if
60 * Whatever data is transmitted is looped-back to the receiving buffer of
103 /* Requests - if possible - to keep CS asserted after the transaction */
112 /* Active high logic on CS - Usually, and by default, CS logic is active
150 * This helper is useful for initializing a device on a SPI bus. It
158 * cs-gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
159 * spidev: spi-device@0 { ... };
165 * gpio-cells:
166 * - pin
[all …]
/Zephyr-Core-2.7.6/doc/guides/dts/
Dbindings.rst1 .. _dt-bindings:
6 A devicetree on its own is only half the story for describing hardware, as it
10 A devicetree binding declares requirements on the contents of nodes, and
13 dt-schema tools used by the Linux kernel).
20 See the :ref:`devicetree_binding_index` for reference information on
27 .. _dt-binding-compat:
33 properties <dt-important-props>`.
40 .. _dt-bindings-simple-example:
47 .. code-block:: devicetree
50 bar-device {
[all …]
/Zephyr-Core-2.7.6/doc/reference/peripherals/
Di2c.rst12 used in the current `I2C Specification <i2c-specification>`_. This
18 `I2C <i2c-specification>`_ (Inter-Integrated Circuit, pronounced "eye
19 squared see") is a commonly-used two-signal shared peripheral interface
20 bus. Many system-on-chip solutions provide controllers that communicate
21 on an I2C bus. Devices on the bus can operate in two roles: as a
23 "slave" that responds to transaction commands. A I2C controller on a
27 .. _i2c-master-api:
32 Zephyr's I2C master API is used when an I2C peripheral controls the bus,
37 This API is supported in all in-tree I2C peripheral drivers and is
40 .. _i2c-slave-api:
[all …]
/Zephyr-Core-2.7.6/drivers/i2s/
DKconfig.sam_ssc1 # Atmel SAM I2S bus driver configuration options
4 # SPDX-License-Identifier: Apache-2.0
7 bool "Atmel SAM MCU family I2S (SSC) Bus Driver"
8 depends on SOC_FAMILY_SAM
11 Enable Inter Sound (I2S) bus driver for Atmel SAM MCU family based on
29 an output or an input depending on whether the receiver is working
40 an output or an input depending on whether the receiver is working
DKconfig.cavs4 # SPDX-License-Identifier: Apache-2.0
7 bool "Intel I2S (SSP) Bus Driver"
8 depends on BOARD_INTEL_S1000_CRB
11 Enable Inter Sound (I2S) bus driver for Intel_S1000 based on
/Zephyr-Core-2.7.6/drivers/sensor/bmg160/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
8 depends on I2C
15 prompt "BMG160 I2C bus speed"
21 Standard bus speed of up to 100kHz.
26 Fast bus speed of up to 400KHz.
52 depends on BMG160_TRIGGER_OWN_THREAD
59 depends on BMG160_TRIGGER_OWN_THREAD
/Zephyr-Core-2.7.6/dts/bindings/gpio/
Dmikro-bus.yaml2 # SPDX-License-Identifier: Apache-2.0
5 GPIO pins exposed on Mikro BUS headers.
7 The Mikro BUS layout provides two headers, aligned on the opposite
12 …* https://download.mikroe.com/documents/standards/mikrobus/mikrobus-standard-specification-v200.pdf
15 numbered 0 - 5 (AN - MOSI), the right side pins are numbered 6 - 10
16 (PWM - SDA). The bottom 2 pins on each side are used for input voltage
19 Analog - AN PWM - PWM output
20 Reset - RST INT - Hardware Interrupt
21 SPI Chip Select - CS RX - UART Receive
22 SPI Clock - SCK TX - UART Transmit
[all …]
/Zephyr-Core-2.7.6/dts/bindings/i2c/
Di2c-device.yaml2 # SPDX-License-Identifier: Apache-2.0
8 on-bus: i2c
13 description: device address on i2c bus
Datmel,sam-i2c-twim.yaml2 # SPDX-License-Identifier: Apache-2.0
7 The Atmel Two-wire Master Interface (TWIM) interconnects components on a
8 unique two-wire bus, made up of one clock line and one data line with speeds
9 of up to 3.4 Mbit/s, based on a byte-oriented transfer format. The TWIM is
10 always a bus master and can transfer sequential or single bytes. Multiple
11 master capability is supported. Arbitration of the bus is performed
12 internally and relinquishes the bus automatically if the bus arbitration is
20 std-clk-slew-lim = <0>;
21 std-clk-strength-low = "0.5";
22 std-data-slew-lim = <0>;
[all …]
/Zephyr-Core-2.7.6/scripts/dts/python-devicetree/tests/
Dtest.dts4 * SPDX-License-Identifier: BSD-3-Clause
9 /dts-v1/;
16 interrupt-parent-test {
18 compatible = "interrupt-three-cell";
19 #interrupt-cells = <3>;
20 interrupt-controller;
24 interrupt-names = "foo", "bar";
25 interrupt-parent = <&{/interrupt-parent-test/controller}>;
28 interrupts-extended-test {
29 controller-0 {
[all …]
Dtest_edtlib.py2 # SPDX-License-Identifier: BSD-3-Clause
22 # test.dts is the main test file. test-bindings/ and test-bindings-2/ has
45 with from_here(): edtlib.EDT("test.dts", ["test-bindings"])
47 enums_hpath = hpath('test-bindings/enums.yaml')
49 … marked as deprecated in 'properties:' in {hpath('test-bindings/deprecated.yaml')} for node /test-
50 "unit address and first address in 'reg' (0x1) don't match for /reg-zero-size-cells/node",
51 "unit address and first address in 'reg' (0x5) don't match for /reg-ranges/parent/node",
52 …"unit address and first address in 'reg' (0x30000000200000001) don't match for /reg-nested-ranges/…
53 …f"compatible 'enums' in binding '{enums_hpath}' has non-tokenizable enum for property 'string-enum…
54 …f"compatible 'enums' in binding '{enums_hpath}' has enum for property 'tokenizable-lower-enum' tha…
[all …]
/Zephyr-Core-2.7.6/include/drivers/clock_control/
Darm_clock_control.h4 * SPDX-License-Identifier: Apache-2.0
18 /* CMSDK BUS Mapping */
32 /* ARM family SoCs supported Bus types */
33 enum arm_bus_type_t bus; member
36 /* Identifies the device on the bus */
/Zephyr-Core-2.7.6/drivers/wifi/eswifi/
DKconfig.eswifi1 # es-WiFi driver options
4 # SPDX-License-Identifier: Apache-2.0
7 bool "Inventek eS-WiFi support"
18 bool "Select BUS interface"
22 bool "SPI Bus interface"
26 bool "UART Bus interface"
40 depends on SHELL
/Zephyr-Core-2.7.6/doc/guides/emulator/
Dindex.rst14 for an I2C compass such that it appears on the I2C bus and can be used
18 compass may support returning bogus data if the I2C bus speed is too
20 been completed. This allows for testing that high-level code can
27 The diagram below shows application code / high-level tests at the top.
39 Separately we can test the STM32 and NXP I2C drivers on real hardware using API
40 tests. These require some sort of device attached to the bus, but with this, we
44 entirely on native_posix. Since we know that the I2C driver on the real hardware
45 works, we should expect the application and peripheral drivers to work on the
49 Controller) on native_posix using emulators for all non-chip drivers:
55 The 'real' code is shown in green. The Zephyr emulation-framework code is shown
[all …]
/Zephyr-Core-2.7.6/samples/subsys/usb/testusb/
DREADME.rst1 .. _testusb-app:
21 #. Load the ``usbtest`` Linux kernel module on the Linux Host.
23 .. code-block:: console
29 .. code-block:: console
31 [21746.128743] usb 9-1: new full-speed USB device number 16 using uhci_hcd
32 [21746.303051] usb 9-1: New USB device found, idVendor=2fe3, idProduct=0009, bcdDevice= 2.03
33 [21746.303055] usb 9-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
34 [21746.303058] usb 9-1: Product: Zephyr testusb sample
35 [21746.303060] usb 9-1: Manufacturer: ZEPHYR
36 [21746.303063] usb 9-1: SerialNumber: 86FE679A598AC47A
[all …]
/Zephyr-Core-2.7.6/dts/bindings/flash_controller/
Dst,stm32-qspi-nor.yaml2 # SPDX-License-Identifier: Apache-2.0
7 Representation of a serial flash on a quadspi bus:
9 mx25r6435f: qspi-nor-flash@0 {
10 compatible = "st,stm32-qspi-nor";
13 qspi-max-frequency = <80000000>;
18 compatible: "st,stm32-qspi-nor"
20 include: ["flash-controller.yaml", "jedec,jesd216.yaml"]
22 on-bus: qspi
27 qspi-max-frequency:
/Zephyr-Core-2.7.6/soc/arm/nxp_kinetis/k8x/
DKconfig.soc4 # SPDX-License-Identifier: Apache-2.0
8 depends on SOC_SERIES_KINETIS_K8X
52 int "Freescale K8x bus clock divider"
55 This option specifies the divide value for the K8x bus clock from the
74 depends on DMA
78 depends on COUNTER
/Zephyr-Core-2.7.6/dts/bindings/sensor/
Dti,ina219.yaml2 # SPDX-License-Identifier: Apache-2.0
8 include: i2c-device.yaml
11 lsb-microamp:
17 example: 100 -> ~3A
18 shunt-milliohm:
28 Bus Voltage Range
32 The default of 32V is the power-on reset value of the device.
34 Should the expected bus voltage be below 16V set this to 0.
36 - 0
37 - 1
[all …]
/Zephyr-Core-2.7.6/drivers/led_strip/
Dlpd880x.c4 * SPDX-License-Identifier: Apache-2.0
30 * - mode 0 (the default), 8 bit, MSB first, one-line SPI
31 * - no shenanigans (no CS hold, release device lock, not an EEPROM)
39 struct spi_dt_spec bus; member
44 const struct lpd880x_config *config = dev->config; in lpd880x_update()
46 * Per the AdaFruit reverse engineering notes on the protocol, in lpd880x_update()
79 rc = spi_write_dt(&config->bus, &tx); in lpd880x_update()
96 * Overwrite a prefix of the pixels array with its on-wire in lpd880x_strip_update_rgb()
131 const struct lpd880x_config *config = dev->config; in lpd880x_strip_init()
133 if (!spi_is_ready(&config->bus)) { in lpd880x_strip_init()
[all …]

12345678910>>...16