Skip to content

Commit

Permalink
Documentation update only: I2C related.
Browse files Browse the repository at this point in the history
Remove the bit about the weakly-linked version of uPortI2cControllerExchange() since that is now no longer needed (and is deprecated).
  • Loading branch information
RobMeades committed Jun 13, 2024
1 parent 75ad856 commit ef1dea9
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions port/api/u_port_i2c.h
Original file line number Diff line number Diff line change
Expand Up @@ -259,22 +259,8 @@ int32_t uPortI2cGetMaxSegmentSize(int32_t handle);
* Note that the NRF52 and NRF53 chips require all buffers to
* be in RAM.
*
* Note: where this function is not implemented a weakly-linked
* version will currently do the following:
*
* (a) call uPortI2cControllerSend() if pReceive is NULL or
* noInterveningStop is true,
* (b) call uPortI2cControllerSend() followed by
* uPortI2cControllerSendReceive() if pReceive is non-NULL
* and noInterveningStop is true,
* (c) otherwise call uPortI2cControllerSendReceive().
*
* This weakly-linked function will be removed when the deprecated
* uPortI2cControllerSend()/uPortI2cControllerSendReceive() functions
* are removed.
*
* Note also that the uPortI2cSetTimeout() (or the equivalent set
* by a platform at compile-time) applies for the whole of this
* Note that the uPortI2cSetTimeout() (or the equivalent set by
* a platform at compile-time) applies for the whole of this
* transaction, i.e. the peripheral must begin responding within
* that time; if you wish to allow the peripheral longer to respond
* you should take control of the time allowed yourself by calling
Expand Down

0 comments on commit ef1dea9

Please sign in to comment.