Skip to content

Commit af1dc2d

Browse files
i2c porting guide: add i2c_set_clock_stretching
1 parent 70f9623 commit af1dc2d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/porting/target/i2c.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ The interface is made up of two lines for all communication:
2323
- Sets the frequency to use for the transfer.
2424
- Returns the actual frequency used.
2525
- Must leave all other configuration unchanged.
26+
- `i2c_set_clock_stretching`:
27+
- Enables or disables clock stretching for the peripheral when in slave mode.
28+
- Does nothing when called in master mode.
2629
- `i2c_timeout`:
2730
- Sets the transmision timeout to use for the following blocking transfers.
2831
- If the timeout is not set, the default timeout is used.

0 commit comments

Comments
 (0)