Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 129cdff

Browse files
committed
修改适配文档名称bsp-adaption
1 parent 4293ea4 commit 129cdff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

zh/manual/_sidebar.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
- [Arduino社区库](/zh/manual/libraries/community-libraries.md)
88

99
- RTduino适配
10-
- [如何为RT-Thread BSP适配RTduino](/zh/manual/adapt/bsp/bsp.md)
10+
- [如何为RT-Thread BSP适配RTduino](/zh/manual/adapt/bsp/bsp-adaption.md)
1111
- BSP适配RTduino示例
1212
- [STM32F4星火一号BSP](/zh/manual/adapt/bsp/examples/stm32f4-rt-spark/stm32f4-rt-spark.md)
1313
- [RT-Thread BSP适配RTduino后功能检查清单](/zh/manual/adapt/bsp/func-checklist.md)

zh/manual/adapt/bsp/bsp.md renamed to zh/manual/adapt/bsp/bsp-adaption.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,4 +259,4 @@ SPI 功能对于板卡来说是非必须功能,如果板卡支持,则尽量
259259

260260
SPI的功能属性不是默认IO模式,即若SPI引脚与部分PWM和通用IO功能冲突,PWM或者通用IO才是板卡上电之后的默认IO模式,用户调用 `SPI.begin()` 时,会将SPI端口**永久不可逆地**转换为 SPI-MOSI、SPI-MISO、SPI-CLK。
261261

262-
SPI不使用硬件片选,由Arduino应用程序自己进行软件片选操作,因此适配仅需关心SPI-MOSI、SPI-MISO 和 SPI-CLK三个引脚。SPI-CS这个引脚就是一个正常的通用IO,通过 `digitalWrite()` 函数在 Arduino 应用程序中自行操作。适配时,需要在 `pins_arduino.c` 文件中实现 `switchToSPI()` 函数,详见PR:https://github.com/RT-Thread/rt-thread/pull/7901。
262+
SPI不使用硬件片选,由Arduino应用程序自己进行软件片选操作,因此适配仅需关心SPI-MOSI、SPI-MISO 和 SPI-CLK三个引脚。SPI-CS这个引脚就是一个正常的通用IO,通过 `digitalWrite()` 函数在 Arduino 应用程序中自行操作。适配时,需要在 `pins_arduino.c` 文件中实现 `switchToSPI()` 函数,详见PR:https://github.com/RT-Thread/rt-thread/pull/7901

0 commit comments

Comments
 (0)