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
總結
以上是生活随笔為你收集整理的STM8中GPIO的12种模式的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 十六进制时间戳转换成十进制时间戳
- 下一篇: STM8获取电压值