/Zephyr-Core-2.7.6/drivers/i2c/slave/ |
D | Kconfig | 1 # I2C Slave configuration options 10 bool "I2C Slave Drivers" 12 Enable I2C Slave Driver Configuration 20 I2C Slave device driver initialization priority. 22 source "drivers/i2c/slave/Kconfig.eeprom"
|
D | Kconfig.eeprom | 1 # I2C EEPROM Slave configuration options 7 bool "I2C Slave EEPROM driver" 9 Enable virtual I2C Slave EEPROM driver
|
/Zephyr-Core-2.7.6/soc/arm/nxp_lpc/lpc54xxx/gcc/ |
D | startup_LPC54114_cm4.S | 35 * the slave and handle each core state individually. */ 40 /* Flag for slave core (0) */ 57 /* Determine if M4 core is the master or slave */ 63 ands r3, r3, r5 /* r3 = (Bit 0: 1 = M4 is master, 0 = M4 is slave) */ 68 eors r3, r3, r4 /* r4 = (Bit 0: 0 = master, 1 = slave) */ 73 /* Slave boot */ 78 cmp r2, #0 /* Slave boot address = 0 (not set up)? */ 84 mov sp, r1 /* Update slave CPU stack pointer */ 86 /* Be sure to update VTOR for the slave MCU to point to the */ 87 /* slave vector table in boot memory */ [all …]
|
/Zephyr-Core-2.7.6/drivers/i2c/ |
D | i2c_lpc11u6x.c | 131 /* If a slave is registered, put the controller in slave mode */ in lpc11u6x_i2c_transfer() 132 if (data->slave) { in lpc11u6x_i2c_transfer() 156 if (data->slave) { in lpc11u6x_i2c_slave_register() 161 data->slave = cfg; in lpc11u6x_i2c_slave_register() 162 /* Configure controller to act as slave */ in lpc11u6x_i2c_slave_register() 183 if (data->slave != cfg) { in lpc11u6x_i2c_slave_unregister() 188 data->slave = NULL; in lpc11u6x_i2c_slave_unregister() 256 /* Slave States */ in lpc11u6x_i2c_isr() 261 if (data->slave->callbacks->write_requested(data->slave)) { in lpc11u6x_i2c_isr() 269 if (data->slave->callbacks->write_received(data->slave, val)) { in lpc11u6x_i2c_isr() [all …]
|
D | i2c_lpc11u6x.h | 56 volatile uint32_t addr0; /* Slave address 0 */ 61 volatile uint32_t addr[3]; /* Slave address {1,2,3} */ 63 volatile uint32_t mask[4]; /* Slave address mask */ 90 struct i2c_slave_config *slave; member
|
D | i2c_ll_stm32_v1.c | 142 uint8_t *next_msg_flags, uint16_t slave, in msg_init() argument 167 data->slave_address = slave; in msg_init() 232 uint8_t slave; in handle_sb() local 235 slave = (((saddr & 0x0300) >> 7) & 0xFF); in handle_sb() 236 uint8_t header = slave | HEADER; in handle_sb() 248 slave = (saddr << 1) & 0xFF; in handle_sb() 250 LL_I2C_TransmitData8(i2c, slave | I2C_REQUEST_WRITE); in handle_sb() 252 LL_I2C_TransmitData8(i2c, slave | I2C_REQUEST_READ); in handle_sb() 474 /* Attach and start I2C as slave */ 513 LOG_DBG("i2c: slave registered"); in i2c_stm32_slave_register() [all …]
|
/Zephyr-Core-2.7.6/tests/drivers/i2c/i2c_slave_api/common/ |
D | Kconfig | 1 # I2C slave tests common configuration options 7 bool "Virtual I2C Driver for Slave development" 11 I2C slave drivers. 19 bool "Enable test with combined master/slave behavior"
|
/Zephyr-Core-2.7.6/dts/bindings/bluetooth/ |
D | zephyr,bt-hci-spi-slave.yaml | 5 Configures SPI slave settings for a Bluetooth controller that uses 12 compatible = "zephyr,bt-hci-spi-slave"; 18 The bt-hci@0 node configures an HCI SPI slave on SPI slave 25 compatible: "zephyr,bt-hci-spi-slave"
|
/Zephyr-Core-2.7.6/tests/drivers/i2c/i2c_slave_api/ |
D | README.txt | 1 I2C Slave API test 8 This test verifies I2C slave driver implementations using two I2C 10 driver that simulates an EEPROM with an I2C bus slave interface. Data 16 master and slave behavior simultaneously. This is not true of all 25 * Register a simulated EEPROM as a I2C slave device on a bus. If 29 verify that the data supplied by the other controller (slave) match
|
/Zephyr-Core-2.7.6/doc/reference/peripherals/ |
D | i2c.rst | 11 Zephyr recognizes the need to change the terms "master" and "slave" 23 "slave" that responds to transaction commands. A I2C controller on a 25 support the slave mode. Zephyr has API for both roles. 40 .. _i2c-slave-api: 42 I2C Slave API 45 Zephyr's I2C slave API is used when an I2C peripheral responds to
|
/Zephyr-Core-2.7.6/dts/bindings/i2c/ |
D | nordic,nrf-twis.yaml | 5 Nordic nRF family TWIS (TWI slave with EasyDMA). 7 Note: for Zephyr users, the I2C slave API is not available for 36 description: TWI slave address 0 41 description: TWI slave address 1
|
/Zephyr-Core-2.7.6/drivers/spi/ |
D | Kconfig.stm32 | 28 bool "STM32 Hardware Slave Select support" 31 Use Slave Select pin instead of software Slave Select.
|
D | Kconfig | 23 bool "Enable Slave support [EXPERIMENTAL]" 25 Enables Driver SPI slave operations. Slave support depends
|
/Zephyr-Core-2.7.6/arch/arc/core/ |
D | arc_smp.c | 32 * arc_cpu_wake_flag is used to sync up master core and slave cores 33 * Slave core will spin for arc_cpu_wake_flag until master core sets 34 * it to the core id of slave core. Then, slave core clears it to notify 57 * only one slave cpu can read it per time in arch_start_cpu() 63 /* wait slave cpu to start */ in arch_start_cpu() 88 /* the C entry of slave cores */
|
/Zephyr-Core-2.7.6/drivers/sensor/lsm6dsl/ |
D | lsm6dsl_shub.c | 254 * use SLV0 for generic read to slave device 261 uint8_t slave[3]; in lsm6dsl_shub_read_slave_reg() local 263 slave[0] = (slv_addr << 1) | LSM6DSL_EMBEDDED_SLVX_READ; in lsm6dsl_shub_read_slave_reg() 264 slave[1] = slv_reg; in lsm6dsl_shub_read_slave_reg() 265 slave[2] = (len & 0x7); in lsm6dsl_shub_read_slave_reg() 268 slave, 3) < 0) { in lsm6dsl_shub_read_slave_reg() 283 * use SLV0 to configure slave device 336 * - SLAVE 0: used for configuring the slave device 337 * - SLAVE 1: used as data read channel to slave device 338 * - SLAVE 2: used for generic reads while data channel is enabled [all …]
|
/Zephyr-Core-2.7.6/dts/bindings/dsa/ |
D | microchip_dsa.yaml | 13 dsa-slave-ports: 16 description: Number of slave ports on the switch 36 description: Properties of slave port
|
/Zephyr-Core-2.7.6/samples/net/dsa/src/ |
D | main.c | 26 /* Get slave interfaces */ in iface_cb() 28 struct net_if *slave = dsa_get_slave_port(iface, i); in iface_cb() local 30 if (slave == NULL) { in iface_cb() 31 LOG_ERR("Slave interface %d not found.", i); in iface_cb() 35 ifaces->lan[i] = slave; in iface_cb()
|
/Zephyr-Core-2.7.6/include/drivers/i2c/slave/ |
D | eeprom.h | 4 * @brief Public APIs for the I2C EEPROM Slave driver. 16 * @brief I2C EEPROM Slave Driver API 17 * @defgroup i2c_eeprom_slave_api I2C EEPROM Slave Driver API
|
/Zephyr-Core-2.7.6/samples/bluetooth/hci_spi/ |
D | README.rst | 15 A board with SPI slave, GPIO and Bluetooth Low Energy support. 21 for the HCI SPI slave device with compatible 22 :dtcompatible:`zephyr,bt-hci-spi-slave`. This node sets an interrupt line to
|
/Zephyr-Core-2.7.6/include/net/ |
D | dsa.h | 44 * This is a generic function for passing packets from slave DSA interface to 87 * @return Return the slave network interface 126 /** Pointers to all DSA slave network interfaces */ 138 /** Number of slave ports in the DSA switch */ 193 * @brief Get network interface of a slave port 196 * @param[in] slave_num Slave port number 198 * @return network interface of the slave if successful 199 * @return NULL if slave port does not exist
|
/Zephyr-Core-2.7.6/modules/ |
D | Kconfig.open-amp | 26 bool "OpenAMP Slave Support" 29 This option enables support for OpenAMP VirtIO Slave
|
/Zephyr-Core-2.7.6/drivers/espi/ |
D | Kconfig | 24 bool "ESPI slave driver" 27 Enables eSPI driver in slave mode. 53 Enable automatic acknowledge from eSPI slave towards eSPI host 59 bool "Automatic acknowledge slave boot status" 64 Enable automatic acknowledge of slave basic configuration been
|
/Zephyr-Core-2.7.6/dts/bindings/spi/ |
D | nordic,nrf-spis.yaml | 4 description: Nordic nRF family SPIS (SPI slave with EasyDMA) 22 Default character. Character clocked out when the slave was not
|
/Zephyr-Core-2.7.6/drivers/sensor/ism330dhcx/ |
D | ism330dhcx_shub.c | 518 * use SLV0 for generic read to slave device 524 uint8_t slave[3]; in ism330dhcx_shub_read_slave_reg() local 526 slave[0] = (slv_addr << 1) | ISM330DHCX_SHUB_SLVX_READ; in ism330dhcx_shub_read_slave_reg() 527 slave[1] = slv_reg; in ism330dhcx_shub_read_slave_reg() 528 slave[2] = (len & 0x7); in ism330dhcx_shub_read_slave_reg() 531 slave, 3) < 0) { in ism330dhcx_shub_read_slave_reg() 545 /* read data from external slave */ in ism330dhcx_shub_read_slave_reg() 560 * use SLV0 to configure slave device 618 * - SLAVE 0: used for configuring all slave devices 619 * - SLAVE 1: used as data read channel for external slave device #1 [all …]
|
/Zephyr-Core-2.7.6/samples/drivers/espi/dts/bindings/ |
D | mec15xx-board-power.yaml | 9 GPIOs required before performing a eSPI host-slave handshake 23 power has stabilized and bare minimum initialization in eSPI slave
|