SPI在STM32上设置
我用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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
对于推扣类型输出,您不需要内部上拉/下拉。
如果您使用开放式输出,并且板没有必要的电阻,则可以根据需要的内容使用内部上拉或下拉。
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.