Lines Matching +full:target +full:- +full:speed
4 * SPDX-License-Identifier: Apache-2.0
34 * @param dev_config Bit-packed 32-bit value to the device runtime configuration
38 * @retval -EIO General input / output error, failed to configure device.
39 * @retval -ERANGE Out of supported i2c frequency.
44 * @brief Get I2C controller speed.
47 * @param speed Pointer to store the I2C speed.
50 * @retval -ERANGE Stored I2C frequency out of supported range.
51 * @retval -EIO Controller is not configured.
53 int npcx_i2c_ctrl_get_speed(const struct device *i2c_dev, uint32_t *speed);
61 * @param addr Address of the I2C target device.
65 * @retval -EIO General input / output error.
66 * @retval -ENXIO No slave address match.
67 * @retval -ETIMEDOUT Timeout occurred for a i2c transaction.
73 * @brief Toggle the SCL to generate maximum 9 clocks until the target release
79 * @retval -EBUSY fail to recover the bus.
84 * @brief Registers the provided config as Target device of a npcx i2c controller.
87 * @param target_cfg Config struct used by the i2c target driver
91 * @retval -EBUSY If i2c transaction is proceeding.
97 * @brief Unregisters the provided config as Target device of a npcx i2c controller.
100 * @param target_cfg Config struct used by the i2c target driver
103 * @retval -EBUSY If i2c transaction is proceeding.
104 * @retval -EINVAL If parameters are invalid