SPI在STM32上设置

发布于 2025-01-31 21:12:10 字数 234 浏览 2 评论 0原文

我用SPI通信设置显示,并且我使用GPIO引脚库,MOSI,RES,DC,CS,

我的问题是如何设置GPIO_OUTPUT PIN PIN RES RES RES,DC,CS gpio设置

我需要离开默认值或需要设置池?

谢谢

i use to set up Display with SPI communication, and i use GPIO Pins CLK, MOSI, RES, DC, CS,

my question is how to set up GPIO_Output pins RES, DC, CS
GPIO Set up

i need to leave default or need to set up pool up?

thank you

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

雨轻弹 2025-02-07 21:12:10

对于推扣类型输出,您不需要内部上拉/下拉。

如果您使用开放式输出,并且板没有必要的电阻,则可以根据需要的内容使用内部上拉或下拉。

For push-pull type output, you don't need the internal pull-up/pull-down.

If you use open-drain output and your board does not have the necessary resistors, you can use the internal pull-up or pull-down, depending on what is required.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文