diff options
| author | Robin Mueller <[email protected]> | 2025-09-23 11:21:57 +0200 |
|---|---|---|
| committer | Robin Mueller <[email protected]> | 2025-09-23 13:44:06 +0200 |
| commit | 9ae4edfa73d33f6fe66eb70a896b14267f6cdec2 (patch) | |
| tree | 36acda02d421b05b8633c2c8dfd48efaf44e8e48 /embassy-nrf/src/twim.rs | |
| parent | f3f29cdd531f5329d797c29af66c4aac1acd7574 (diff) | |
doc fixes
Diffstat (limited to 'embassy-nrf/src/twim.rs')
| -rw-r--r-- | embassy-nrf/src/twim.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-nrf/src/twim.rs b/embassy-nrf/src/twim.rs index 3d5e841d1..3fc59a39a 100644 --- a/embassy-nrf/src/twim.rs +++ b/embassy-nrf/src/twim.rs | |||
| @@ -558,7 +558,7 @@ impl<'d, T: Instance> Twim<'d, T> { | |||
| 558 | 558 | ||
| 559 | /// Execute the provided operations on the I2C bus with timeout. | 559 | /// Execute the provided operations on the I2C bus with timeout. |
| 560 | /// | 560 | /// |
| 561 | /// See [`blocking_transaction`]. | 561 | /// See [Self::blocking_transaction]. |
| 562 | #[cfg(feature = "time")] | 562 | #[cfg(feature = "time")] |
| 563 | pub fn blocking_transaction_timeout( | 563 | pub fn blocking_transaction_timeout( |
| 564 | &mut self, | 564 | &mut self, |
| @@ -632,7 +632,7 @@ impl<'d, T: Instance> Twim<'d, T> { | |||
| 632 | 632 | ||
| 633 | /// Write to an I2C slave with timeout. | 633 | /// Write to an I2C slave with timeout. |
| 634 | /// | 634 | /// |
| 635 | /// See [`blocking_write`]. | 635 | /// See [Self::blocking_write]. |
| 636 | #[cfg(feature = "time")] | 636 | #[cfg(feature = "time")] |
| 637 | pub fn blocking_write_timeout(&mut self, address: u8, buffer: &[u8], timeout: Duration) -> Result<(), Error> { | 637 | pub fn blocking_write_timeout(&mut self, address: u8, buffer: &[u8], timeout: Duration) -> Result<(), Error> { |
| 638 | self.blocking_transaction_timeout(address, &mut [Operation::Write(buffer)], timeout) | 638 | self.blocking_transaction_timeout(address, &mut [Operation::Write(buffer)], timeout) |
