2023-03-23 02:05 AM
Dear Sir,
In STM32G070 series, the code shows the speed setting for GPIO output,
If my GPIO is setting for input to receive external interrupt, does the speed setting also apply for GPIO input mode?
Thanks
/** @defgroup GPIO_speed GPIO speed
* @brief GPIO Output Maximum frequency
* @{
*/
#define GPIO_SPEED_FREQ_LOW (0x00000000u) /*!< Low speed */
#define GPIO_SPEED_FREQ_MEDIUM (0x00000001u) /*!< Medium speed */
#define GPIO_SPEED_FREQ_HIGH (0x00000002u) /*!< High speed */
#define GPIO_SPEED_FREQ_VERY_HIGH (0x00000003u) /*!< Very high speed */
Solved! Go to Solution.
2023-03-23 02:20 AM
No, the speed setting only applies to the GPIO output mode and affects the output drivers. This means that with a lower speed setting, the interference radiation (EMI) can be significantly reduced, and it also has some influence on the current consumption of the GPIO block.
Does it answer your question?
Regards
/Peter
2023-03-23 02:20 AM
No, the speed setting only applies to the GPIO output mode and affects the output drivers. This means that with a lower speed setting, the interference radiation (EMI) can be significantly reduced, and it also has some influence on the current consumption of the GPIO block.
Does it answer your question?
Regards
/Peter
2023-03-23 08:58 PM
Yes, thanks for you explanations