/Zephyr-latest/dts/bindings/bluetooth/ |
D | zephyr,bt-hci-spi-slave.yaml | 2 # SPDX-License-Identifier: Apache-2.0 5 Configures SPI slave settings for a Bluetooth controller that uses 6 Zephyr's Bluetooth Host Controller Interface SPI (HCI SPI) driver. 11 bt-hci@0 { 12 compatible = "zephyr,bt-hci-spi-slave"; 14 irq-gpios = <&gpio1 2 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>; 18 The bt-hci@0 node configures an HCI SPI slave on SPI slave 21 The host interrupt GPIO is set to gpio1 pin 2 via irq-gpios. The 25 compatible: "zephyr,bt-hci-spi-slave" 29 on-bus: spi [all …]
|
/Zephyr-latest/drivers/smbus/ |
D | intel_pch_smbus.h | 7 * PCH provides SMBus 2.0 - compliant Host Controller. 9 * SPDX-License-Identifier: Apache-2.0 17 /* Host Configuration (HCFG) - Offset 40h, 8 bits */ 23 /* Host Status Register Address (HSTS) */ 25 #define PCH_SMBUS_HSTS_HOST_BUSY BIT(0) /* Host Busy */ 38 /* Host Control Register (HCTL) */ 39 #define PCH_SMBUS_HCTL 0x02 /* Host Control */ 61 /* Host Command Register (HCMD) */ 64 /* Transmit Slave Address Register (TSA) */ 69 /* Set 7-bit address */ [all …]
|
/Zephyr-latest/samples/drivers/espi/dts/bindings/ |
D | mec15xx-board-power.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 compatible: "microchip,mec15xx-board-power" 9 GPIOs required before performing a eSPI host-slave handshake 12 pwrg-gpios: 13 type: phandle-array 18 rsm-gpios: 19 type: phandle-array 23 power has stabilized and bare minimum initialization in eSPI slave
|
D | mec172x-board-power.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 compatible: "microchip,mec172x-board-power" 9 GPIOs required before performing a eSPI host-slave handshake 12 pwrg-gpios: 13 type: phandle-array 18 rsm-gpios: 19 type: phandle-array 23 power has stabilized and bare minimum initialization in eSPI slave
|
/Zephyr-latest/soc/microchip/mec/mec172x/reg/ |
D | mec172x_espi_vw.h | 4 * SPDX-License-Identifier: Apache-2.0 13 /* Master to Slave VW register: 96-bit (3 32 bit registers) */ 14 /* 32-bit word 0 (bits[31:0]) */ 28 /* 32-bit word 1 (bits[63:32]) */ 43 /* 32-bit word 2 (bits[95:64]) */ 77 /* Slave to Master VW register: 64-bit (2 32 bit registers) */ 78 /* 32-bit word 0 (bits[31:0]) */ 111 /* 32-bit word 1 (bits[63:32]) */ 138 * GIRQ24 contains MSVW 0 - 6 139 * GIRQ25 contains MSVW 7 - 10 [all …]
|
/Zephyr-latest/samples/bluetooth/hci_spi/ |
D | README.rst | 1 .. zephyr:code-sample:: bluetooth_hci_spi 3 :relevant-api: hci_raw bluetooth spi_interface 16 A board with SPI slave, GPIO and Bluetooth Low Energy support. 21 You then need to ensure that your :ref:`devicetree <dt-guide>` defines a node 22 for the HCI SPI slave device with compatible 23 :dtcompatible:`zephyr,bt-hci-spi-slave`. This node sets an interrupt line to 24 the host and associates the application with a SPI bus to use. 31 the usual way; see :ref:`boards` for board-specific building and 39 Refer to :zephyr:code-sample-category:`bluetooth` for general Bluetooth information, and
|
/Zephyr-latest/samples/subsys/modbus/tcp_server/ |
D | README.rst | 1 .. zephyr:code-sample:: modbus-tcp-server 3 :relevant-api: modbus bsd_sockets 16 This sample has been tested with FRDM-K64F board, 34 .. zephyr-app-commands:: 35 :zephyr-app: samples/subsys/modbus/tcp_server 43 .. code-block:: console 45 # pymodbus.console tcp --host 192.0.2.1 --port 502 50 .. code-block:: console 53 > client.write_coil address=0 value=1 slave=1 57 .. code-block:: console [all …]
|
/Zephyr-latest/samples/subsys/modbus/tcp_gateway/ |
D | README.rst | 1 .. zephyr:code-sample:: modbus-gateway 2 :name: Modbus TCP-to-serial gateway 3 :relevant-api: modbus bsd_sockets 5 Implement a gateway between an Ethernet TCP-IP network and a Modbus serial line. 11 an Ethernet TCP-IP network and a Modbus serial line. 16 This sample has been tested with FRDM-K64F board, 21 :zephyr:code-sample:`modbus-rtu-server` sample. Client is running on a PC or laptop. 26 In addition to the evaluation boards RS-485 shields may be used. 27 The A+, B- lines of the RS-485 shields should be connected together. 38 .. zephyr-app-commands:: [all …]
|
/Zephyr-latest/doc/services/device_mgmt/ |
D | ec_host_cmd.rst | 3 EC Host Command 8 The host command protocol defines the interface for a host, or application processor, to 9 communicate with a target embedded controller (EC). The EC Host command subsystem implements the 10 target side of the protocol, generating responses to commands sent by the host. The host command 16 The Host Command subsystem contains a few components: 32 SHI (Serial Host Interface) is different to this because it is used only for communication with a 33 host. SHI does not have API itself, thus the backend and peripheral driver layers are combined into 39 Another case is SPI. Unfortunately, the current SPI API can't be used to handle the host commands 40 communication. The main issues are unknown command size sent by the host (the SPI transaction 44 can be changed in the future once the SPI API is extended to host command needs. Please check `the [all …]
|
/Zephyr-latest/drivers/espi/ |
D | Kconfig.npcx | 4 # SPDX-License-Identifier: Apache-2.0 17 int "Host I/O peripheral port size for shared memory in npcx series" 21 This is the port size used by the Host and EC to communicate over 27 int "Host I/O peripheral port size for ec host command in npcx series" 31 This is the port size used by the Host and EC to communicate over 32 the shared memory region to return the host command parameter data. 48 bool "Host can write 1/2/4 bytes of Port80 data in a eSPI transaction" 52 EC can accept 1/2/4 bytes of Port 80 data written from the Host in an 61 Postcodes from Host. 91 This size is display how many group of slave attached flash protection
|
/Zephyr-latest/drivers/serial/ |
D | uart_native_ptty_bottom.c | 5 * SPDX-License-Identifier: Apache-2.0 9 /* Note: This is used only for interaction with the host C library, and is therefore exempt of 37 * @retval -1 If no character was available to read 38 * @retval -2 if the stdin is disconnected 47 return -2; in np_uart_stdin_poll_in_bottom() 50 int n = -1; in np_uart_stdin_poll_in_bottom() 62 return -1; in np_uart_stdin_poll_in_bottom() 63 } else if (ready == -1) { in np_uart_stdin_poll_in_bottom() 68 if ((n == -1) || (n == 0)) { in np_uart_stdin_poll_in_bottom() 69 return -1; in np_uart_stdin_poll_in_bottom() [all …]
|
D | Kconfig.native_posix | 1 # SPDX-License-Identifier: Apache-2.0 47 ``--wait_uart`` 48 When ``--wait_uart`` is used, writes to the UART will be held until a 49 client has connected to the slave side of the pseudoterminal. 55 Useful if you need to have another serial connection to host. 56 This is used for example in PPP (Point-to-Point Protocol) 61 default "xterm -e screen %s &" 63 If the native executable is called with the --attach_uart 72 'gnome-terminal -- screen %s'
|
/Zephyr-latest/include/zephyr/drivers/ |
D | espi_saf.h | 4 * SPDX-License-Identifier: Apache-2.0 33 *+----------------------------------------------------------------------+ 35 *| eSPI host +-------------+ | 36 *| +-----------+ | Power | +----------+ | 38 *| ------------ |processor | | controller | | sources | | 39 *| +-----------+ +-------------+ +----------+ | 41 *| ------------ | | | | 42 *| +--------+ +---------------+ | 44 *| -----+ +--------+ +----------+ +----v-----+ | 47 *| | +--------+ +----------+ +----------+ | [all …]
|
D | w1.h | 5 * SPDX-License-Identifier: Apache-2.0 10 * @brief Public 1-Wire Driver APIs 27 * @brief 1-Wire Interface 28 * @defgroup w1_interface 1-Wire Interface 40 * only a single slave is present. 46 (FOR_EACH(F1, (+), DT_SUPPORTS_DEP_ORDS(node_id)) - 1) 53 * @brief Defines the 1-Wire master settings types, which are runtime configurable. 74 /** Configuration common to all 1-Wire master implementations. */ 80 /** Data common to all 1-Wire master implementations. */ 118 struct w1_master_data *ctrl_data = (struct w1_master_data *)dev->data; in z_impl_w1_change_bus_lock() [all …]
|
/Zephyr-latest/soc/intel/intel_adsp/ace/include/ace15_mtpm/ |
D | adsp_ipc_regs.h | 2 * SPDX-License-Identifier: Apache-2.0 13 * Inter Processor Communication - used for sending interrupts to and receiving 14 * them from another device. ACE uses it to talk to the host and the CSME. 57 * peer-to-peer communication between DSP cores - master to slave and backwards. 67 * Each connection is organized into two "agents" ("A" - master core and "B" - slave core). 70 * (A=1/B=0) - agents[0]. 71 * (A=0/B=1) - agents[1].
|
/Zephyr-latest/soc/intel/intel_adsp/ace/include/ace20_lnl/ |
D | adsp_ipc_regs.h | 2 * SPDX-License-Identifier: Apache-2.0 13 * Inter Processor Communication - used for sending interrupts to and receiving 14 * them from another device. ACE uses it to talk to the host and the CSME. 57 * peer-to-peer communication between DSP cores - master to slave and backwards. 67 * Each connection is organized into two "agents" ("A" - master core and "B" - slave core). 70 * (A=1/B=0) - agents[0]. 71 * (A=0/B=1) - agents[1].
|
/Zephyr-latest/soc/intel/intel_adsp/ace/include/ace30/ |
D | adsp_ipc_regs.h | 2 * SPDX-License-Identifier: Apache-2.0 13 * Inter Processor Communication - used for sending interrupts to and receiving 14 * them from another device. ACE uses it to talk to the host and the CSME. 56 * peer-to-peer communication between DSP cores - master to slave and backwards. 66 * Each connection is organized into two "agents" ("A" - master core and "B" - slave core). 69 * (A=1/B=0) - agents[0]. 70 * (A=0/B=1) - agents[1].
|
/Zephyr-latest/subsys/emul/espi/ |
D | emul_espi_host.c | 4 * SPDX-License-Identifier: Apache-2.0 6 * Emulator for the generic eSPI Host. This supports basic 7 * host operations. 66 /** Run-time data used by the emulator */ 72 /** Virtual Wires states, for one slave only. 73 * With multi-slaves config, the states should be saved per slave */ 85 /* eSPI chip-select of the emulated device */ 93 * @param data Host emulator data with the vwire array 100 data->vw_state[i] = vw_state_default[i]; in emul_host_init_vw_state() 106 * Find a virtual wire in the array placed in the host data. [all …]
|
/Zephyr-latest/boards/adi/max32690fthr/doc/ |
D | index.rst | 7 implement ultra low-power wireless solutions using MAX32690 Arm© Cortex®-M4F 10 dual-row header footprint that is compatible with Adafruit Feather Wing 16 - MAX32690 MCU: 18 - Ultra-Efficient Microcontroller for Battery-Powered Applications 20 - 120MHz Arm Cortex-M4 Processor with FPU 21 - 7.3728MHz and 60MHz Low-Power Oscillators 22 - External Crystal Support (32MHz required for BLE) 23 - 32.768kHz RTC Clock (Requires External Crystal) 24 - 8kHz Always-On Ultra-Low Power Oscillator 25 - 3MB Internal Flash, 1MB Internal SRAM (832kB ECC ON) [all …]
|
/Zephyr-latest/samples/shields/x_nucleo_iks02a1/sensorhub/ |
D | README.rst | 1 .. zephyr:code-sample:: x-nucleo-iks02a1-shub 2 :name: X-NUCLEO-IKS02A1 shield - SensorHub (Mode 2) 3 :relevant-api: sensor_interface 5 Interact with all the sensors of an X-NUCLEO-IKS02A1 shield using Sensor Hub mode. 9 This sample is provided as an example to test the X-NUCLEO-IKS02A1 shield 11 Please refer to :ref:`x-nucleo-iks02a1` for more info on this configuration. 16 slave. 20 - IIS2DLPC 3-Axis acceleration 21 - ISM330DHCX 6-Axis acceleration and angular velocity 22 - ISM330DHCX (from IIS2MDC) 3-Axis magnetic field intensity [all …]
|
/Zephyr-latest/soc/ite/ec/common/ |
D | chip_chipregs.h | 3 * SPDX-License-Identifier: Apache-2.0 48 /* --- General Control (GCTRL) --- */ 52 /* RISC-V JTAG Debug Interface Enable */ 54 /* RISC-V JTAG Debug Interface Selection */ 67 /* --- External GPIO Control (EGPIO) --- */ 265 /* 0x049: PWM Output Open-Drain Enable */ 280 /* --- Wake-Up Control (WUC) --- */ 284 /* TODO: should a defined interface for configuring wake-up interrupts */ 442 * 24-bit timers: external timer 3, 5, and 7 443 * 32-bit timers: external timer 4, 6, and 8 [all …]
|
/Zephyr-latest/dts/arm/nuvoton/npcx/ |
D | npcx-espi-vws-map.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/espi/npcx_espi.h> 11 * |--------------------------------------------------------------------------| 13 * |--------------------------------------------------------------------------| 14 * | Input (Master-to-Slave) Virtual Wires | 15 * |--------------------------------------------------------------------------| 21 * |--------------------------------------------------------------------------| 22 * | Output (Slave-to-Master) Virtual Wires | 23 * |--------------------------------------------------------------------------| 28 * |--------------------------------------------------------------------------| [all …]
|
/Zephyr-latest/boards/shields/ftdi_vm800c/doc/ |
D | index.rst | 9 module behaves as an SPI slave, and requires a SPI Master for proper 19 +---------+--------+-------------------------------------+ 23 +---------+--------+-------------------------------------+ 25 +---------+--------+-------------------------------------+ 26 | D2 | INT# | GPIO - Interrupt | 27 +---------+--------+-------------------------------------+ 29 +---------+--------+-------------------------------------+ 31 +---------+--------+-------------------------------------+ 33 +---------+--------+-------------------------------------+ 35 +---------+--------+-------------------------------------+ [all …]
|
/Zephyr-latest/subsys/mgmt/ec_host_cmd/backends/ |
D | ec_host_cmd_backend_shi_ite.c | 4 * SPDX-License-Identifier: Apache-2.0 14 #include <zephyr/dt-bindings/gpio/ite-it8xxx2-gpio.h> 32 (SPI_TX_MAX_FIFO_SIZE - EC_SHI_PREAMBLE_LENGTH - EC_SHI_PAST_END_LENGTH) 39 /* Parameters used by host protocols */ 93 if (atomic_test_and_set_bit(data->pm_policy_state_flag, flag) == 0) { in shi_ite_pm_policy_state_lock_get() 95 k_work_reschedule(&data->cs_off_put, K_SECONDS(3)); in shi_ite_pm_policy_state_lock_get() 102 if (atomic_test_and_clear_bit(data->pm_policy_state_flag, flag) == 1) { in shi_ite_pm_policy_state_lock_put() 104 k_work_cancel_delayable(&data->cs_off_put); in shi_ite_pm_policy_state_lock_put() 110 * Under the condition, SoC will not enter deep sleep until AP de-assert the CS. 149 data->shi_state = state; in shi_ite_set_state() [all …]
|
/Zephyr-latest/samples/bluetooth/hci_spi/src/ |
D | main.c | 4 * Copyright (c) 2015-2016 Intel Corporation 6 * SPDX-License-Identifier: Apache-2.0 73 * "zephyr,bt-hci-spi-slave". There should just be one in the 84 * the SPI-based BT controller. 92 * The GPIO used to send interrupts to the host, 93 * configured in the 'irq-gpios' property in HCI_SPI_NODE. 110 LOG_DBG("buf %p type %u len %u", buf, bt_buf_get_type(buf), buf->len); in spi_send() 122 return -EINVAL; in spi_send() 125 if (buf->len > SPI_MAX_MSG_LEN) { in spi_send() 128 return -EINVAL; in spi_send() [all …]
|