docs: revising comments and documents

- spi/slave.h: revise comments in pulic types section
- doc/sim.rst: minor formatting, add ways to escape cu

Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
This commit is contained in:
Yanfeng Liu
2024-01-25 10:25:55 +08:00
committed by Xiang Xiao
parent fba4b2593c
commit ebef20ee17
2 changed files with 9 additions and 7 deletions
+1 -2
View File
@@ -388,8 +388,7 @@
*
* 4) When the first word from the master is shifted in, the SPI
* controller driver will call the device's receive() method to
* provide the master with the command word that was just shifted
* in.
* provide the master command word that was just shifted in.
*
* For the case of bi-directional data transfer or of a transfer of
* data from the SPI device to the master, the SPI device driver