[ STM32G070 ] STM32G070 input mode pin speed setting?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-03-23 2: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.
- Labels:
-
GPIO-EXTI
-
STM32G0 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-03-23 2: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-03-23 2: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-03-23 8:58 PM
Yes, thanks for you explanations
