diff options
| author | Sebastian Goll <[email protected]> | 2024-03-20 19:52:36 +0100 |
|---|---|---|
| committer | Sebastian Goll <[email protected]> | 2024-03-26 22:53:14 +0100 |
| commit | 746ded94b13d037c5be16071d2d9d195b979c0c7 (patch) | |
| tree | 3e27285093a6d4bb39aeed570ead0cb433beb6e7 | |
| parent | f3a0bcb15eb7f7d1b2f9d948f8d487b76a4308fe (diff) | |
Fix minor typos
| -rw-r--r-- | embassy-stm32/src/i2c/v1.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-stm32/src/i2c/v1.rs b/embassy-stm32/src/i2c/v1.rs index 9f29ed5e0..563bbfdaf 100644 --- a/embassy-stm32/src/i2c/v1.rs +++ b/embassy-stm32/src/i2c/v1.rs | |||
| @@ -58,10 +58,10 @@ pub unsafe fn on_interrupt<T: Instance>() { | |||
| 58 | /// - `ST` = start condition | 58 | /// - `ST` = start condition |
| 59 | /// - `SR` = repeated start condition | 59 | /// - `SR` = repeated start condition |
| 60 | /// - `SP` = stop condition | 60 | /// - `SP` = stop condition |
| 61 | /// - `ACK`/`NACK` = last byte in read operation | ||
| 61 | #[derive(Copy, Clone)] | 62 | #[derive(Copy, Clone)] |
| 62 | enum FrameOptions { | 63 | enum FrameOptions { |
| 63 | /// `[ST/SR]+[NACK]+[SP]` First frame (of this type) in operation and last frame overall in this | 64 | /// `[ST/SR]+[NACK]+[SP]` First frame (of this type) in transaction and also last frame overall. |
| 64 | /// transaction. | ||
| 65 | FirstAndLastFrame, | 65 | FirstAndLastFrame, |
| 66 | /// `[ST/SR]+[NACK]` First frame of this type in transaction, last frame in a read operation but | 66 | /// `[ST/SR]+[NACK]` First frame of this type in transaction, last frame in a read operation but |
| 67 | /// not the last frame overall. | 67 | /// not the last frame overall. |
