Lines Matching refs:slave

61 /// The slave sent NACK instead of ACK.
63 /// The slave lost its arbitration bid on the bus and the xfer must be retried.
92 /* If a slave device doesn't send ACK after each byte, set this flag in its
93 * slave data structure.
125 * This callback is called when the I2C bus is addressed as a slave. The application
144 /** I2C slave controller handle structure.
147 * for each slave controller you intend to communicate with
151 * structure to communicate with the desired slave controller.
185 * To read and write from/to a target slave in master mode, please see the
188 * You must initialize an i2c_slave_t structure for each slave using the
189 * i2c_slave_init() API function if you will be communicating with slave
192 * If you will be using the controller in slave mode, you should register
193 * a slave mode event handler to receive notifications of slave mode events.
202 /* Bus clear operation, for when the slave holds SDA line low. */
205 /* Slave mode functions: To be used when the controller is in slave mode. */
254 /** Initialise an I2C slave device for "stream" reading and writing.
261 * @param[in] address The chip address of the slave device. The RW bit of
264 * @param[in] max_speed The maximum speed usable with the target slave
267 * @param[out] i2c_slave A handle to an i2c slave device structure to initialise
274 /* If a slave device doesn't send ACK after each byte, set this flag in its
275 * slave data structure.
286 i2c_slave_t *slave;
291 /** Initialize an I2C slave device for key-value reading and writing.
304 * @param[out] i2c_kvslave A slave device structure to initialise
336 /** Registers an event handler for slave event notifications.
355 /** Assign slave mode address to the I2C controller.
358 * acting as a slave.
387 * @param[in] aas_cb A callback function to call when the slave is addressed
400 * While operating as a slave, read from a remote I2C master
418 * While operating as a slave, write to a remote I2C master
436 * Determine if the I2C bus received the assigned slave address
438 * be edge triggered (mode is only reported at the beginning of a slave transfer).
476 * Read registers from a register map I2C slave device
482 * @param[in] i2c_slave A handle to a I2C slave device to read from
491 * Write registers to a register map I2C slave device
497 * @param[in] i2c_slave A handle to a I2C slave device to read from
509 * Read from a streaming slave device
510 * @param[in] i2c_slave A handle to the I2C slave device to read from
521 ZF_LOGF_IF(!i2c_slave, "Handle to I2C slave info not supplied!");
522 ZF_LOGF_IF(!i2c_slave->bus, "I2C slave's parent bus not filled out!");
529 * Write to a streaming slave device
530 * @param[in] i2c_slave A handle to the I2C slave device to write to
541 ZF_LOGF_IF(!i2c_slave, "Handle to I2C slave info not supplied!");
542 ZF_LOGF_IF(!i2c_slave->bus, "I2C slave's parent bus not filled out!");