Commit 73d90c5
committed
[I2C] Limit iteration number to compute timing
Computing all timing values consumes huge time. By default only the first 8 valid timing will be computed. It can be redefined thanks the variant.h or build_opt.h or hal_conf_extra.h using: I2C_VALID_TIMING_NBR Higher number ensure lowest clock error but require more time to compute. Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>1 parent 07bf5a1 commit 73d90c5
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
62 | 65 | | |
63 | 66 | | |
64 | 67 | | |
| |||
337 | 340 | | |
338 | 341 | | |
339 | 342 | | |
| 343 | + | |
340 | 344 | | |
341 | 345 | | |
342 | 346 | | |
| |||
399 | 403 | | |
400 | 404 | | |
401 | 405 | | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
402 | 410 | | |
403 | 411 | | |
404 | 412 | | |
| |||
0 commit comments