Commit 99c11dc
committed
sdmmcspi: add method for borrowing spi (useful for re-clocking)
It is currently possible to re-clock the SPI after acquiring the
BlockSpi struct. However, if this fails later or needs to be re-done the
SPI bus should be clocked down to 100 - 400 kHz again. There is no way
to do this before acquiring without borrowing the spi device from
SdmmcSpi.1 parent aa1d3c2 commit 99c11dc
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
360 | 360 | | |
361 | 361 | | |
362 | 362 | | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
363 | 369 | | |
364 | 370 | | |
365 | 371 | | |
| |||
0 commit comments