@@ -377,7 +377,8 @@ class I2C : private NonCopyable<I2C> {
377
377
*
378
378
* The %I2C peripheral will begin a transmit and/or receive operation in the background. If only a transmit
379
379
* or receive buffer is specified, only a transmit or receive will be done. If both buffers are specified,
380
- * first the transmission is done to the given slave address, then the specified number of bytes are received.
380
+ * first the transmission is done to the given slave address, then the MCU performs a repeated start
381
+ * and the specified number of bytes are received.
381
382
*
382
383
* If you wish to find out when the transfer is done, pass a callback function to the callback argument
383
384
* and set the event argument to the events you wish to receive.
@@ -400,7 +401,7 @@ class I2C : private NonCopyable<I2C> {
400
401
* of the flags I2C_EVENT_ERROR, I2C_EVENT_ERROR_NO_SLAVE, I2C_EVENT_TRANSFER_COMPLETE, or I2C_EVENT_TRANSFER_EARLY_NACK
401
402
* @param callback The event callback function
402
403
* @param repeated Set up for a repeated start. If true, the Mbed processor does not relinquish the bus after
403
- * this write operation. You may then call write(), read(), or start () again to start another operation.
404
+ * this operation. You may then call write(), read(), start(), or transfer () again to start another operation.
404
405
*
405
406
* @returns Zero if the transfer has started, or -1 if I2C peripheral is busy
406
407
*/
@@ -415,7 +416,8 @@ class I2C : private NonCopyable<I2C> {
415
416
*
416
417
* The %I2C peripheral will begin a transmit and/or receive operation in the background. If only a transmit
417
418
* or receive buffer is specified, only a transmit or receive will be done. If both buffers are specified,
418
- * first the transmission is done to the given slave address, then the specified number of bytes are received.
419
+ * first the transmission is done to the given slave address, then the MCU performs a repeated start
420
+ * and the specified number of bytes are received.
419
421
*
420
422
* Internally, the chip vendor may implement this function using either DMA or interrupts.
421
423
*
@@ -428,7 +430,7 @@ class I2C : private NonCopyable<I2C> {
428
430
* @param rx_length The length of RX buffer in bytes If 0, no reception is done.
429
431
* @param timeout timeout value. Use #rtos::Kernel::wait_for_u32_forever to wait forever (the default).
430
432
* @param repeated Set up for a repeated start. If true, the Mbed processor does not relinquish the bus after
431
- * this operation. You may then call write(), read(), or start () again to start another operation.
433
+ * this operation. You may then call write(), read(), start(), or transfer () again to start another operation.
432
434
*
433
435
* @returns Result code describing whether the transfer succeeded or not.
434
436
*/
0 commit comments