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

View File

@ -692,6 +692,7 @@ NOTES
running C++ static initializers until NuttX has been initialized.
fb
--
A simple configuration used for some basic (non-graphic) debug of the
framebuffer character drivers using apps/examples/fb.
@ -1115,14 +1116,14 @@ rpproxy and rpserver
rpserver: Remote master(host) server process.
rpserver contains all the real hardware configuration, such as:
1.Universal Asynchronous Receiver/Transmitter (UART).
2.Specific File System.
3.Network protocol stack and real network card device.
4....
1. Universal Asynchronous Receiver/Transmitter (UART).
2. Specific File System.
3. Network protocol stack and real network card device.
4. ...
Rpmsg driver used in this example include:
1.Rpmsg Syslog
1. Rpmsg Syslog
Source::
@ -1250,6 +1251,8 @@ To use this example:
1 1 224 FIFO Kthread --- Waiting Signal 00000000 002032 hpwork
3 3 100 FIFO Task --- Running 00000000 004080 init
To switch back the console, type ``"~."`` in the cu session.
3. RpmsgFS:
Mount the remote file system via RPMSGFS, cu to proxy first::

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