其他分享
首页 > 其他分享> > STM8 gpio模式说明

STM8 gpio模式说明

作者:互联网

GPIO_Mode_In_FL_No_IT  浮空输入无中断
Input floating, no external interrupt

GPIO_Mode_In_PU_No_IT  上拉输入无中断
Input pull-up, no external interrupt

GPIO_Mode_In_FL_IT   浮空输入有中断
Input floating, external interrupt

GPIO_Mode_In_PU_IT   上拉输入有中断
Input pull-up, external interrupt


GPIO_Mode_Out_OD_Low_Fast 开漏-输出低-高速
Output open-drain, low level, 10MHz

GPIO_Mode_Out_PP_Low_Fast 推挽-输出低-高速
Output push-pull, low level, 10MHz

GPIO_Mode_Out_OD_Low_Slow 开漏-输出低-低速
Output open-drain, low level, 2MHz

GPIO_Mode_Out_PP_Low_Slow 推挽-输出低-低速
Output push-pull, low level, 2MHz

GPIO_Mode_Out_OD_HiZ_Fast 开漏-输出高阻-高速
Output open-drain, high-impedance level, 10MHz

GPIO_Mode_Out_PP_High_Fast 推挽-输出高-高速
Output push-pull, high level, 10MHz

GPIO_Mode_Out_OD_HiZ_Slow 开漏-输出高阻-低速
Output open-drain, high-impedance level, 2MHz

GPIO_Mode_Out_PP_High_Slow 推挽-输出高-低速
Output push-pull, high level, 2MHz

标签:pull,STM8,GPIO,level,模式,Mode,gpio,Output,Out
来源: https://www.cnblogs.com/will-lin/p/10364622.html