2013-03-11 04:32 AM
hello forum ,
( STM32F103 ) when using GPIO pin as output we can choose GPIO speed ------------------------------------------------------------------ GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP; GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; ------------------------------------------------------------------- can we choose GPIO speed when it is an input ? what is the effect ? --------------------------------------------------------------------- GPIO_InitStructure.GPIO_Speed =GPIO_Speed_2MHz; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IN_FLOATING; --------------------------------------------------------------------- thank you #gpio-speed-stm32f1032013-03-11 06:03 AM
> can we choose GPIO speed when it is an input ?
No. See tables 20 and 21 in RM0008. JW2013-03-11 06:49 AM
No, It controls the slew rate of the output stage of the pin.