Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions mkdocs/education/spi.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ write-then-read operations without asserting and de-asserting the chip select
each time, add the `hal::no_cs` token as the first parameter of the utility
APIs.

### `hal::write(hal::spi_channel& p_spi, ...)`
### `hal::write()`

```C++
#include <mutex>
Expand Down Expand Up @@ -239,7 +239,7 @@ void hal_write_spi_example(hal::spi_channel& p_spi,
}
```

### `hal::read(hal::spi_channel& p_spi, ...)`
### `hal::read()`

```C++
#include <mutex>
Expand Down Expand Up @@ -289,7 +289,7 @@ void hal_read_spi_example(hal::spi_channel& p_spi) {
}
```

### `hal::write_then_read(hal::spi_channel& p_spi, ...)`
### `hal::write_then_read()`

```C++
#include <mutex>
Expand Down