Lines Matching +full:master +full:- +full:bus
4 * SPDX-License-Identifier: Apache-2.0
11 static const struct device *bus = DEVICE_DT_GET(DT_NODELABEL(flexcomm4)); variable
15 * @brief Callback which is called when a write request is received from the master.
25 * @brief Callback which is called when a write is received from the master.
27 * @param val The byte received from the master.
37 * @brief Callback which is called when a read request is received from the master.
39 * @param val Pointer to the byte to be sent to the master.
49 * @brief Callback which is called when a read is processed from the master.
51 * @param val Pointer to the next byte to be sent to the master.
61 * @brief Callback which is called when the master sends a stop condition.
87 if (i2c_target_register(bus, &target_cfg) < 0) { in main()
89 return -1; in main()
94 if (i2c_target_unregister(bus, &target_cfg) < 0) { in main()
96 return -1; in main()