欢迎访问 生活随笔!

生活随笔

当前位置: 首页 > 编程资源 > 编程问答 >内容正文

编程问答

STM8中GPIO的12种模式

发布时间:2025/6/15 编程问答 29 豆豆
生活随笔 收集整理的这篇文章主要介绍了 STM8中GPIO的12种模式 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

                 STM8中GPIO的12种模式

(1)GPIO_Mode_In_FL_No_IT:浮空输入无中断
(2)GPIO_Mode_In_PU_No_IT:上拉输入无中断
(3)GPIO_Mode_In_FL_IT:浮空输入有中断 
(4)GPIO_Mode_In_PU_IT :上拉输入有中断 
(5)GPIO_Mode_Out_OD_Low_Fast :开漏-输出低-高速   Output open-drain, low level, 10MHz   
(6)GPIO_Mode_Out_PP_Low_Fast :推挽-输出低-高速   Output push-pull, low level, 10MHz   
(7)GPIO_Mode_Out_OD_Low_Slow :开漏-输出低-低速   Output open-drain, low level, 2MHz   
(8)GPIO_Mode_Out_PP_Low_Slow :推挽-输出低-低速   Output push-pull, low level, 2MHz   
(9)GPIO_Mode_Out_OD_HiZ_Fast :开漏-输出高阻-高速   Output open-drain, high-impedance level, 10MHz   
(10)GPIO_Mode_Out_PP_High_Fast :推挽-输出高-高速   Output push-pull, high level, 10MHz   
(11)GPIO_Mode_Out_OD_HiZ_Slow :开漏-输出高阻-低速   Output open-drain, high-impedance level, 2MHz   
(12)GPIO_Mode_Out_PP_High_Slow :推挽-输出高-低速   Output push-pull, high level, 2MHz

《新程序员》:云原生和全面数字化实践50位技术专家共同创作,文字、视频、音频交互阅读

总结

以上是生活随笔为你收集整理的STM8中GPIO的12种模式的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。