STM8 GPIO模式

GPIO_Mode_In_FL_No_IT
浮空输入无中断
GPIO_Mode_In_PU_No_IT
上拉输入无中断
GPIO_Mode_In_FL_IT
 浮空输入有中断 
GPIO_Mode_In_PU_IT 
上拉输入有中断 
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

你可能感兴趣的:(STM8)