?? readme.rtl
字號:
This module allows RT-threads to communicate via serial ports.The documentation is in the *.html files.testcom.c and com_posix.c demonstrate basic communication.They send and receive data through COM1 at 38400 bps, 8N1.Run make tests to build them.Before loading the rt_com module, you need to disable theLinux serial driver for COM1 by runningsetserial /dev/ttyS0 uart none.Then connect another computer's COM port with a nullmodem cable andrun minicom or another terminal program on the other computer.Note for com_posix.c: even if the table in rt_com.c is changed to use adifferent COM port (e.g., irq=3, io=0x2f8 for /dev/ttyS1 or COM2), theRT-thread should still open("/dev/ttyS0").This is because this version of rt_com assumes the device minornumbers correspond to the lines in the rt_com_table. This"feature" remains to be fixed (see the TODO file).Michael Barabanov (baraban@fsmlabs.com)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -